Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ButtonProperties

Hierarchy

Index

Properties

Optional CSSStyles

CSSStyles: CssStyles

Matches the CSS style key and its available values.

Optional ariaHidden

ariaHidden: boolean

Corresponds to the aria-hidden accessibility attribute for this component

Optional ariaLabel

ariaLabel: string

Corresponds to the aria-label accessibility attribute for this component

Optional ariaRole

ariaRole: string

Corresponds to the role accessibility attribute for this component

Optional ariaSelected

ariaSelected: boolean

Corresponds to the aria-selected accessibility attribute for this component

Optional display

display: DisplayType

Corresponds to the display CSS property for the element

Optional enabled

enabled: boolean

Whether the component is enabled in the DOM

Optional fileContent

fileContent: string

The content of the currently selected file

Optional height

height: string | number

Optional iconHeight

iconHeight: string | number

The height of the icon

Optional iconPath

iconPath: IconPath

The path for the icon with optional dark-theme away alternative

Optional iconWidth

iconWidth: string | number

The width of the icon

Optional isFile

isFile: boolean

Whether the button opens the file browser dialog

Optional label

label: string

The label for the button

Optional position

position: PositionType

The position CSS property. Empty by default. This is particularly useful if laying out components inside a FlexContainer and the size of the component is meant to be a fixed size. In this case the position must be set to 'absolute', with the parent FlexContainer having 'relative' position. Without this the component will fail to correctly size itself

Optional title

title: string
deprecated

This will be moved to ComponentWithIconProperties

The title for the button. This title will show when hovered over

Optional width

width: string | number

Generated using TypeDoc