Optionaloptions: HTMLDocumentTagsOptions = {}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.
Protected_valueStaticformDeclare 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.
Allow a maximum number of documents to be tagged to the element.
The input element name.
Restrict to only allow referencing a single Document instead of an array of documents.
Restrict this element to documents of a particular type.
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 serialized JSON array.
Optionalvalues: string[]An array of Document UUIDs to initialize the element with.
Protected_onProtectedSpecial handling when the custom element is clicked. This should be implemented to transfer focus to an appropriate internal element.
StaticcreateCreate a HTMLDocumentTagsElement using provided configuration data.
StaticrenderCreate an HTML string fragment for a single document tag.
The document UUID
The document name
Optionaleditable: boolean = trueIs the tag editable?
A custom HTMLElement used to render a set of associated Documents referenced by UUID.