0.1.2 • Published 4 years ago

@vaadin/selected-state-mixin v0.1.2

Weekly downloads
21
License
Apache-2.0
Repository
github
Last release
4 years ago

@vaadin/selected-state-mixin

This package provides SelectedStateMixin that does the following:

  1. Add selected property (boolean, false by default, reflects to attribute)

  2. Toggle aria-selected attribute when selected property changes

The mixin accepts a class that must apply DisabledStateMixin.