Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

slot

Description

The slot of Element for JS returns the value of element’s slot content attribute. Can be set to change it.

Syntax

element.slot [ = value ]

Examples

1 · get

2 · set

attachShadow

classList

className

closest

getAttribute

getAttributeNames

getAttributeNS

hasAttribute

hasAttributeNS

hasAttributes

id

innerHTML

insertAdjacentHTML

localName

matches

namespaceURI

outerHTML

prefix

removeAttribute

removeAttributeNS

setAttribute

setAttributeNS

shadowRoot

tagName

toggleAttribute

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu