Domovoy API

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
see
https://dom.spec.whatwg.org/#interface-element

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

$exportParts

public string|null $exportParts = null

Value for the exportparts attribute (CSS shadow part export mapping)

$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)

$part

public string|null $part = null

Value for the part attribute (CSS shadow parts)

$style

public string|null $style = null

Value for the style attribute (inline CSS declarations)


        
On this page

Search results