Skip to main content

<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 allow you to configure an element in a declarative manner via markup.

dismissable {Boolean=false} (optional)
When present, pill will be dismissable.

Properties

Properties allow you to configure an element in an imperative manner via JavaScript.

dismissable {Boolean=false}
When true, pill will be dismissable.

See Also