Hierarchy

Properties

Optional items

Array of drop-down menu items.

Optional onRender

onRender: undefined | function

Function called after the widget is displayed.

param

The root HTML element corresponding to the displayed widget.

Optional position

position: "horizontal" | "vertical" | "top" | "right" | "bottom" | "left"

Placement of the drop-down menu/pop-up in relation to the trigger element that opens it.

The default value is vertical. The following options are available:
horizontal: opens items horizontally. vertical: opens items vertically. top: at the top. right: on the right. bottom: at the bottom. left: on the left.

Optional size

size: "default" | "sm" | "md" | "lg"

Size of the drop-down menu/pop-up.

Be default, the property’s value is default. The following options are available: default: size fits the content. sm: small. md: medium.
lg: large.