ItemModel

ItemModel interface defines properties for each dropdown item.

Props

The following table outlines the props for the ItemModel:

NameTypeDefaultDescription
disabled
boolean
false

Specifies to enable or disable the item.

hasSeparator
boolean
false

Specifies separator between the items. Separator are horizontal lines used to group action items.

icon
node
-

Defines class/multiple classes separated by a space for the item that is used to include an icon. Action item can include font icon and sprite image.

id
string
-

Specifies the id for item.

text
string
-

Specifies text for item.

url
string
-

Specifies url for item that creates the anchor link to navigate to the url provided.