UpDownToggle

An element that can point up or down

API

Class hierarchy:

The element defines the following shadow parts:

  • down-icon: the icon shown in the toggle if the popup will open or close in the down direction
  • up-icon: the icon shown in the toggle if the popup will open or close in the up direction

This element is used as a shadow part in AutoCompleteComboBox, ComboBox, DateComboBox, DropdownList, ExpandableSection, FilterComboBox, ListComboBox, MenuButton, PlainDateComboBox, and PlainFilterComboBox.

direction property

Indicates which direction the element should point to.

Type: 'down'|'up'

Default: 'down'