<hx-pill> v0.8.0+ HelixUI v0.8.0 or later required

The custom <hx-pill> element provides a pill-like element that can be optionally dismissed.

Methods

dismiss()
Dismiss the pill (removes element from the DOM).

Attributes

Attributes enable declarative configuration of an element, via HTML markup.

persist {Boolean}
When present, pill will not be dismissable.

Properties

JavaScript properties enable programmatic access to an element's configuration and state.

persist {Boolean [false]}
When true, pill will not be dismissable.

See Also