Interface: DimensionRulerProps
Hierarchy
↳
DimensionRulerProps
Properties
ariaLabel
• Optional
ariaLabel: string
Deprecated
- Use kebab-case aria-label instead Label to be used for accessibility purposes.
Inherited from
SharedComponentProps.ariaLabel
Defined in
packages/ida-framework/src/types.ts:46
className
• Optional
className: string
Inherited from
SharedComponentProps.className
Defined in
packages/ida-framework/src/types.ts:48
label
• Optional
label: string
Text to be shown within the ruler.
Defined in
packages/ida-framework/src/features/dimensionRuler/DimensionRuler.tsx:9
length
• length: number
Length of the ruler in pixels.
Defined in
packages/ida-framework/src/features/dimensionRuler/DimensionRuler.tsx:17
orientation
• orientation: "horizontal"
| "vertical"
Controls whether the ruler is displayed horizontally or vertically.
Defined in
packages/ida-framework/src/features/dimensionRuler/DimensionRuler.tsx:13
role
• Optional
role: AriaRole
Inherited from
Defined in
packages/ida-framework/src/types.ts:49
style
• Optional
style: CSSProperties