Optionaloptions: HTMLStringTagsOptions = {}Protected_internalsAttached ElementInternals which provides form handling functionality.
Protected_primaryThe primary input (if any). Used to determine what element should receive focus when an associated label is clicked on.
StaticformDeclare that this custom element provides form element functionality.
StaticobservedAttributes requiring change notifications
StatictagAn AbortSignal that can be passed to event listeners registered in subclasses. The signal will ensure that the listener is removed when the element is disconnected from the DOM. Not available in the constructor.
Is this element disabled?
Is this field editable? The field can be neither disabled nor readonly.
The form this element belongs to.
The input element name.
The value of the input element.
InternalApply key attributes on the containing custom HTML element to input elements contained within it.
Initialize the custom element, constructing its HTML.
Protected_disconnectProtectedA method provided for subclasses to perform tear-down workflows as an alternative to overriding disconnectedCallback.
Protected_initializeProtectedInitialize innerText or an initial value attribute of the element as a comma-separated list of currently assigned string tags.
Optionalvalues: string[]An array of initial values.
Protected_onProtectedSpecial handling when the custom element is clicked. This should be implemented to transfer focus to an appropriate internal element.
Protected_validateStaticcreateCreate a HTMLStringTagsElement using provided configuration data.
StaticrenderRender the tagged string as an HTML element.
The raw tag value
Optionallabel: stringAn optional tag label
Optionaleditable: boolean = trueIs the tag editable?
A rendered HTML element for the tag
A custom HTML element which allows for arbitrary assignment of a set of string tags. This element may be used directly or subclassed to impose additional validation or functionality.