SelectableMixin

Tracks whether the element is currently selected

API

Used by classes CalendarDay, CalendarDayButton, MenuItem, PlainCalendarDay, PlainCalendarDayButton, PlainMenuItem, PlainPageDot, PlainSelectableButton, PlainTabButton, SelectableButton, and TabButton.

selected property

True if the element is currently selected.

Type: boolean

Default: false

selected-changed event

Raised when the selected property changes.