selected

open override fun selected(component: Component?)(source)


Sets the selected state. When false, displays the default icon. When true, displays the selected icon, or the default icon if no slot="selected" icon is provided.