MdChip

abstract class MdChip : MdItemWidget, HasIconSlot

Chips help people enter information, make selections, filter content, or trigger actions.

While buttons are expected to appear consistently and with familiar calls to action, chips should appear dynamically as a group of multiple interactive elements.

See https://material-web.dev/components/chip/

Author

Maanrifa Bacar Ali

Inheritors

Properties

Link copied to clipboard
var alwaysFocusable: <Error class: unknown class>

When true, allow disabled chips to be focused with arrow keys. Add this when a chip needs increased visibility when disabled.

Link copied to clipboard
var disabled: <Error class: unknown class>

Whether or not the chip is disabled. Disabled chips are not focusable, unless always-focusable is set.

Link copied to clipboard
var label: <Error class: unknown class>

The label of the chip.

Link copied to clipboard
open var parent: <Error class: unknown class>?

Functions

Link copied to clipboard
open fun afterCreate(node: <Error class: unknown class>)
Link copied to clipboard
open fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun dispose()
Link copied to clipboard
open override fun icon(component: <Error class: unknown class>?)
Link copied to clipboard

Sets the icon identified by name to the icon slot.

Link copied to clipboard
open fun render(): <Error class: unknown class>