ElementAttributes
in package
implements
NodeAttributes
Content attributes from the DOM Element interface.
These are stable attributes defined on Element (not HTMLElement) that are actual content attributes reflected in HTML markup. Maintained manually because the generator only parses the HTML Standard spec (HTMLElement), while these live in the DOM Standard spec (Element).
Tags
Table of Contents
Interfaces
- NodeAttributes
- Marker interface for typed element attributes.
Properties
- $aria : AriaAttributes|null
- $className : string|null
- $contentEditable : string|null
- $dataset : DataAttributes|null
- $enterKeyHint : string|null
- $exportParts : string|null
- $id : string|null
- $inputMode : string|null
- $is : string|null
- $itemId : string|null
- $itemProp : string|null
- $itemRef : string|null
- $itemScope : bool|null
- $itemType : string|null
- $on : EventAttributes|null
- $part : string|null
- $slot : string|null
- $style : string|null
Properties
$aria
public
AriaAttributes|null
$aria
= null
WAI-ARIA states and properties
Attributes
$className
public
string|null
$className
= null
Value for the class attribute
Attributes
- #[HtmlName]
- 'class'
$contentEditable
public
string|null
$contentEditable
= null
Value for the contenteditable attribute
Tags
$dataset
public
DataAttributes|null
$dataset
= null
Arbitrary data-* attributes (mirrors HTMLElement.dataset)
Attributes
$enterKeyHint
public
string|null
$enterKeyHint
= null
Value for the enterkeyhint attribute
Tags
$exportParts
public
string|null
$exportParts
= null
Value for the exportparts attribute (CSS shadow part export mapping)
$id
public
string|null
$id
= null
Value for the id attribute
$inputMode
public
string|null
$inputMode
= null
Value for the inputmode attribute
Tags
$is
public
string|null
$is
= null
Value for the is attribute (custom element name)
$itemId
public
string|null
$itemId
= null
Value for the itemid attribute (microdata)
$itemProp
public
string|null
$itemProp
= null
Value for the itemprop attribute (microdata)
$itemRef
public
string|null
$itemRef
= null
Value for the itemref attribute (microdata)
$itemScope
public
bool|null
$itemScope
= null
Value for the itemscope attribute (microdata)
$itemType
public
string|null
$itemType
= null
Value for the itemtype attribute (microdata)
$on
public
EventAttributes|null
$on
= null
GlobalEventHandlers content attributes
Attributes
$part
public
string|null
$part
= null
Value for the part attribute (CSS shadow parts)
$slot
public
string|null
$slot
= null
Value for the slot attribute
$style
public
string|null
$style
= null
Value for the style attribute (inline CSS declarations)