Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeguYouTubeModal

Hierarchy

  • LitElement
    • DeguYouTubeModal

Implements

  • any

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

ATTRIBUTE_NODE

ATTRIBUTE_NODE: number

CDATA_SECTION_NODE

CDATA_SECTION_NODE: number

COMMENT_NODE

COMMENT_NODE: number

DOCUMENT_FRAGMENT_NODE

DOCUMENT_FRAGMENT_NODE: number

DOCUMENT_NODE

DOCUMENT_NODE: number

DOCUMENT_POSITION_CONTAINED_BY

DOCUMENT_POSITION_CONTAINED_BY: number

DOCUMENT_POSITION_CONTAINS

DOCUMENT_POSITION_CONTAINS: number

DOCUMENT_POSITION_DISCONNECTED

DOCUMENT_POSITION_DISCONNECTED: number

DOCUMENT_POSITION_FOLLOWING

DOCUMENT_POSITION_FOLLOWING: number

DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number

DOCUMENT_POSITION_PRECEDING

DOCUMENT_POSITION_PRECEDING: number

DOCUMENT_TYPE_NODE

DOCUMENT_TYPE_NODE: number

ELEMENT_NODE

ELEMENT_NODE: number

ENTITY_NODE

ENTITY_NODE: number

ENTITY_REFERENCE_NODE

ENTITY_REFERENCE_NODE: number

NOTATION_NODE

NOTATION_NODE: number

PROCESSING_INSTRUCTION_NODE

PROCESSING_INSTRUCTION_NODE: number

TEXT_NODE

TEXT_NODE: number

accessKey

accessKey: string

accessKeyLabel

accessKeyLabel: string

assignedSlot

assignedSlot: HTMLSlotElement | null

attributes

attributes: NamedNodeMap

autocapitalize

autocapitalize: string

baseURI

baseURI: string

childElementCount

childElementCount: number

childNodes

childNodes: NodeListOf<ChildNode>

children

children: HTMLCollection

classList

classList: DOMTokenList

className

className: string

clientHeight

clientHeight: number

clientLeft

clientLeft: number

clientTop

clientTop: number

clientWidth

clientWidth: number

contentEditable

contentEditable: string

dataset

dataset: DOMStringMap

details

details: HTMLDetailsElement

detailsDialog

detailsDialog: DetailsDialogElement

dir

dir: string

draggable

draggable: boolean

firstChild

firstChild: ChildNode | null

firstElementChild

firstElementChild: Element | null

hasUpdated

hasUpdated: boolean

hidden

hidden: boolean

id

id: string

innerHTML

innerHTML: string

innerText

innerText: string

inputMode

inputMode: string

isConnected

isConnected: boolean

isContentEditable

isContentEditable: boolean

isUpdatePending

isUpdatePending: boolean

lang

lang: string

lastChild

lastChild: ChildNode | null

lastElementChild

lastElementChild: Element | null

localName

localName: string

namespaceURI

namespaceURI: string | null

nextElementSibling

nextElementSibling: Element | null

nextSibling

nextSibling: Node | null

nodeName

nodeName: string

nodeType

nodeType: number

nodeValue

nodeValue: string | null

nonce

nonce: string

offsetHeight

offsetHeight: number

offsetLeft

offsetLeft: number

offsetParent

offsetParent: Element | null

offsetTop

offsetTop: number

offsetWidth

offsetWidth: number

onabort

onabort: function | null

onanimationcancel

onanimationcancel: function | null

onanimationend

onanimationend: function | null

onanimationiteration

onanimationiteration: function | null

onanimationstart

onanimationstart: function | null

onauxclick

onauxclick: function | null

onblur

onblur: function | null

oncancel

oncancel: function | null

oncanplay

oncanplay: function | null

oncanplaythrough

oncanplaythrough: function | null

onchange

onchange: function | null

onclick

onclick: function | null

onclose

onclose: function | null

oncontextmenu

oncontextmenu: function | null

oncopy

oncopy: function | null

oncuechange

oncuechange: function | null

oncut

oncut: function | null

ondblclick

ondblclick: function | null

ondrag

ondrag: function | null

ondragend

ondragend: function | null

ondragenter

ondragenter: function | null

ondragexit

ondragexit: function | null

ondragleave

ondragleave: function | null

ondragover

ondragover: function | null

ondragstart

ondragstart: function | null

ondrop

ondrop: function | null

ondurationchange

ondurationchange: function | null

onemptied

onemptied: function | null

onended

onended: function | null

onerror

onerror: ErrorEventHandler

onfocus

onfocus: function | null

onfullscreenchange

onfullscreenchange: function | null

onfullscreenerror

onfullscreenerror: function | null

ongotpointercapture

ongotpointercapture: function | null

oninput

oninput: function | null

oninvalid

oninvalid: function | null

onkeydown

onkeydown: function | null

onkeypress

onkeypress: function | null

onkeyup

onkeyup: function | null

onload

onload: function | null

onloadeddata

onloadeddata: function | null

onloadedmetadata

onloadedmetadata: function | null

onloadend

onloadend: function | null

onloadstart

onloadstart: function | null

onlostpointercapture

onlostpointercapture: function | null

onmousedown

onmousedown: function | null

onmouseenter

onmouseenter: function | null

onmouseleave

onmouseleave: function | null

onmousemove

onmousemove: function | null

onmouseout

onmouseout: function | null

onmouseover

onmouseover: function | null

onmouseup

onmouseup: function | null

onpaste

onpaste: function | null

onpause

onpause: function | null

onplay

onplay: function | null

onplaying

onplaying: function | null

onpointercancel

onpointercancel: function | null

onpointerdown

onpointerdown: function | null

onpointerenter

onpointerenter: function | null

onpointerleave

onpointerleave: function | null

onpointermove

onpointermove: function | null

onpointerout

onpointerout: function | null

onpointerover

onpointerover: function | null

onpointerup

onpointerup: function | null

onprogress

onprogress: function | null

onratechange

onratechange: function | null

onreset

onreset: function | null

onresize

onresize: function | null

onscroll

onscroll: function | null

onsecuritypolicyviolation

onsecuritypolicyviolation: function | null

onseeked

onseeked: function | null

onseeking

onseeking: function | null

onselect

onselect: function | null

onstalled

onstalled: function | null

onsubmit

onsubmit: function | null

onsuspend

onsuspend: function | null

ontimeupdate

ontimeupdate: function | null

ontoggle

ontoggle: function | null

ontouchcancel

ontouchcancel: function | null

ontouchend

ontouchend: function | null

ontouchmove

ontouchmove: function | null

ontouchstart

ontouchstart: function | null

ontransitioncancel

ontransitioncancel: function | null

ontransitionend

ontransitionend: function | null

ontransitionrun

ontransitionrun: function | null

ontransitionstart

ontransitionstart: function | null

onvolumechange

onvolumechange: function | null

onwaiting

onwaiting: function | null

onwheel

onwheel: function | null

outerHTML

outerHTML: string

ownerDocument

ownerDocument: Document | null

parentElement

parentElement: HTMLElement | null

parentNode

parentNode: Node & ParentNode | null

prefix

prefix: string | null

previousElementSibling

previousElementSibling: Element | null

previousSibling

previousSibling: Node | null

renderOptions

renderOptions: RenderOptions

renderRoot

renderRoot: HTMLElement | ShadowRoot

scrollHeight

scrollHeight: number

scrollLeft

scrollLeft: number

scrollTop

scrollTop: number

scrollWidth

scrollWidth: number

shadowRoot

shadowRoot: ShadowRoot | null

slot

slot: string

spellcheck

spellcheck: boolean

style

style: CSSStyleDeclaration

summary

summary: HTMLElement

tabIndex

tabIndex: number

tagName

tagName: string

textContent

textContent: string | null

title

title: string

translate

translate: boolean

youtubeInline

youtubeInline: DeguYouTubeInline

Static _$litElement$

_$litElement$: boolean

Static Optional _initializers

_initializers: Initializer[]

Static Optional disableWarning

disableWarning: function

Type declaration

    • (warningKind: WarningKind): void
    • Parameters

      • warningKind: WarningKind

      Returns void

Static elementProperties

elementProperties: PropertyDeclarationMap

Static elementStyles

elementStyles: Array<CSSResultOrNative>

Static Optional enableWarning

enableWarning: function

Type declaration

    • (warningKind: WarningKind): void
    • Parameters

      • warningKind: WarningKind

      Returns void

Static Optional enabledWarnings

enabledWarnings: WarningKind[]

Static properties

properties: PropertyDeclarations

Static shadowRootOptions

shadowRootOptions: ShadowRootInit

Static styles

styles: CSSResult = css`.modal summary {display: none;}.modal[open] > summary {display: block;cursor: default;}.modal[open] .modal__mask {background-color: var(--modal-mask-bg-color, #202124);content: ' ';display: block;position: fixed;width: 100%;height: 100%;top: 0;right: 0;left: 0;bottom: 0;z-index: 1;}details-dialog {position: fixed;top: 0;left: 50%;transform: translateX(-50%);z-index: 2001;max-height: 100vh;max-width: 100vw;width: 100vw;height: 100vh;overflow: auto;}.modal__content {width: calc(100vw - 22.1912072575vw);height: calc(100vh - 7.3970690858vw);max-height: calc((100vw - 22.1912072575vw) * 9 / 16);max-width: calc((100vh - 7.3970690858vw) * 16 / 9);position: fixed;top: 50%;left: 50%;transform: translateY(-50%) translateX(-50%);z-index: 2;}.modal__close {overflow: visible !important;background-color: transparent !important;border-radius: 100%;border: 2px solid rgba(95, 99, 104, 0.6);top: 35px !important;right: 50px !important;position: absolute;top: 0px;width: 60px;height: 60px;z-index: 1;}@media (max-width: 1024px) {.modal__close {width: 46px;height: 46px;}}@media (max-width: 600px) {.modal__close {width: 34px;height: 34px;}}.modal__close:before,.modal__close:after {content: '';display: block;position: absolute;transition: all 250ms linear;}.modal__close:before {top: 50%;left: 50%;width: 16px !important;height: 16px !important;margin-top: -8px;margin-left: -8px;background-repeat: no-repeat;background-position: center;background-size: 16px;background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22%23423F3F%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22m2.06.73%2013.577%2013.577-1.697%201.697L.363%202.427z%22%2F%3E%3Cpath%20d%3D%22M.363%2014.307%2013.94.73l1.697%201.697L2.06%2016.004z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');z-index: 1;filter: invert(1);}.modal__close:after {width: calc(100% + 4px);height: calc(100% + 4px);top: -2px;right: -2px;opacity: 0;border-radius: 100%;background-color: var(--modal-close-default-color, #3c4043);transform-origin: center center;transform: scale3d(0.8, 0.8, 0.8);z-index: 0;}.modal__close:hover {border-color: transparent;cursor: pointer;}.modal__close:hover:before {background-repeat: no-repeat;background-position: center;background-size: 16px;background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDUxLjIgKDU3NTE5KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5leGl0LXdoaXRlPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjIwLi1EZXNrdG9wLVVJLUVsZW1lbnRzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNjM3LjAwMDAwMCwgLTExOTkuMDAwMDAwKSIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxnIGlkPSJFeGl0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNDEuMDAwMDAwLCAxMTA1LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsIDY4LjAwMDAwMCkiIGlkPSJob3ZlciI+CiAgICAgICAgICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDcyLjU2NjQwNiwgMy44NTE1NjIpIj4KICAgICAgICAgICAgICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS40MzM1OTQsIDAuNTE1NjI1KSIgaWQ9ImV4aXQtd2hpdGUiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjIuMDAwMDAwLCAyMi4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4LjAwMDAwMCwgOC4wMDAwMDApIHJvdGF0ZSgtMzE1LjAwMDAwMCkgdHJhbnNsYXRlKC04LjAwMDAwMCwgLTguMDAwMDAwKSAiIHg9Ii0xLjYiIHk9IjYuOCIgd2lkdGg9IjE5LjIiIGhlaWdodD0iMi40Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOC4wMDAwMDAsIDguMDAwMDAwKSByb3RhdGUoLTQ1LjAwMDAwMCkgdHJhbnNsYXRlKC04LjAwMDAwMCwgLTguMDAwMDAwKSAiIHg9Ii0xLjYiIHk9IjYuOCIgd2lkdGg9IjE5LjIiIGhlaWdodD0iMi40Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==');}.modal__close:hover:after {opacity: 1;background-color: var(--modal-close-hover-color, #ffffff);transform: scale3d(1, 1, 1);}`

Accessors

updateComplete

updateComplete:

Static observedAttributes

observedAttributes:

Methods

addController

  • addController(controller: ReactiveController): void
  • Parameters

    • controller: ReactiveController

    Returns void

addEventListener

  • addEventListener<K>(type: K, listener: function, options: boolean | AddEventListenerOptions): void
  • addEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions): void
  • Type parameters

    • K: keyof HTMLElementEventMap

    Parameters

    • type: K
    • listener: function
        • (this: HTMLElement, ev: HTMLElementEventMap[K]): any
        • Parameters

          • this: HTMLElement
          • ev: HTMLElementEventMap[K]

          Returns any

    • Optional options: boolean | AddEventListenerOptions

    Returns void

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | AddEventListenerOptions

    Returns void

after

  • after(nodes: (string | Node)[]): void
  • Parameters

    • Rest nodes: (string | Node)[]

    Returns void

animate

  • animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options: number | KeyframeAnimationOptions): Animation
  • Parameters

    • keyframes: Keyframe[] | PropertyIndexedKeyframes | null
    • Optional options: number | KeyframeAnimationOptions

    Returns Animation

append

  • append(nodes: (string | Node)[]): void
  • Parameters

    • Rest nodes: (string | Node)[]

    Returns void

appendChild

  • appendChild<T>(newChild: T): T
  • Type parameters

    • T: Node

    Parameters

    • newChild: T

    Returns T

attachShadow

  • attachShadow(shadowRootInitDict: ShadowRootInit): ShadowRoot
  • Parameters

    • shadowRootInitDict: ShadowRootInit

    Returns ShadowRoot

attributeChangedCallback

  • attributeChangedCallback(name: string, _old: string | null, value: string | null): void
  • Parameters

    • name: string
    • _old: string | null
    • value: string | null

    Returns void

before

  • before(nodes: (string | Node)[]): void
  • Parameters

    • Rest nodes: (string | Node)[]

    Returns void

blur

  • blur(): void
  • Returns void

click

  • click(): void
  • Returns void

cloneNode

  • cloneNode(deep: boolean): Node
  • Parameters

    • Optional deep: boolean

    Returns Node

closest

  • closest<K>(selector: K): HTMLElementTagNameMap[K] | null
  • closest<K>(selector: K): SVGElementTagNameMap[K] | null
  • closest(selector: string): Element | null
  • Type parameters

    • K: keyof HTMLElementTagNameMap

    Parameters

    • selector: K

    Returns HTMLElementTagNameMap[K] | null

  • Type parameters

    • K: keyof SVGElementTagNameMap

    Parameters

    • selector: K

    Returns SVGElementTagNameMap[K] | null

  • Parameters

    • selector: string

    Returns Element | null

compareDocumentPosition

  • compareDocumentPosition(other: Node): number
  • Parameters

    • other: Node

    Returns number

connectedCallback

  • connectedCallback(): void

contains

  • contains(other: Node | null): boolean
  • Parameters

    • other: Node | null

    Returns boolean

disconnectedCallback

  • disconnectedCallback(): void

dispatchEvent

  • dispatchEvent(event: Event): boolean
  • Parameters

    • event: Event

    Returns boolean

focus

  • focus(options: FocusOptions): void
  • Parameters

    • Optional options: FocusOptions

    Returns void

getAnimations

  • getAnimations(): Animation[]
  • Returns Animation[]

getAttribute

  • getAttribute(qualifiedName: string): string | null
  • Parameters

    • qualifiedName: string

    Returns string | null

getAttributeNS

  • getAttributeNS(namespace: string | null, localName: string): string | null
  • Parameters

    • namespace: string | null
    • localName: string

    Returns string | null

getAttributeNames

  • getAttributeNames(): string[]
  • Returns string[]

getAttributeNode

  • getAttributeNode(name: string): Attr | null
  • Parameters

    • name: string

    Returns Attr | null

getAttributeNodeNS

  • getAttributeNodeNS(namespaceURI: string, localName: string): Attr | null
  • Parameters

    • namespaceURI: string
    • localName: string

    Returns Attr | null

getBoundingClientRect

  • getBoundingClientRect(): ClientRect | DOMRect
  • Returns ClientRect | DOMRect

getClientRects

  • getClientRects(): ClientRectList | DOMRectList
  • Returns ClientRectList | DOMRectList

getElementsByClassName

  • getElementsByClassName(classNames: string): HTMLCollectionOf<Element>
  • Parameters

    • classNames: string

    Returns HTMLCollectionOf<Element>

getElementsByTagName

  • getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>
  • getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>
  • getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>
  • Type parameters

    • K: keyof HTMLElementTagNameMap

    Parameters

    • qualifiedName: K

    Returns HTMLCollectionOf<HTMLElementTagNameMap[K]>

  • Type parameters

    • K: keyof SVGElementTagNameMap

    Parameters

    • qualifiedName: K

    Returns HTMLCollectionOf<SVGElementTagNameMap[K]>

  • Parameters

    • qualifiedName: string

    Returns HTMLCollectionOf<Element>

getElementsByTagNameNS

  • getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>
  • getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>
  • getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf<Element>
  • Parameters

    • namespaceURI: "http://www.w3.org/1999/xhtml"
    • localName: string

    Returns HTMLCollectionOf<HTMLElement>

  • Parameters

    • namespaceURI: "http://www.w3.org/2000/svg"
    • localName: string

    Returns HTMLCollectionOf<SVGElement>

  • Parameters

    • namespaceURI: string
    • localName: string

    Returns HTMLCollectionOf<Element>

getRootNode

  • getRootNode(options: GetRootNodeOptions): Node
  • Parameters

    • Optional options: GetRootNodeOptions

    Returns Node

hasAttribute

  • hasAttribute(qualifiedName: string): boolean
  • Parameters

    • qualifiedName: string

    Returns boolean

hasAttributeNS

  • hasAttributeNS(namespace: string | null, localName: string): boolean
  • Parameters

    • namespace: string | null
    • localName: string

    Returns boolean

hasAttributes

  • hasAttributes(): boolean
  • Returns boolean

hasChildNodes

  • hasChildNodes(): boolean
  • Returns boolean

hasPointerCapture

  • hasPointerCapture(pointerId: number): boolean
  • Parameters

    • pointerId: number

    Returns boolean

insertAdjacentElement

  • insertAdjacentElement(position: InsertPosition, insertedElement: Element): Element | null
  • Parameters

    • position: InsertPosition
    • insertedElement: Element

    Returns Element | null

insertAdjacentHTML

  • insertAdjacentHTML(where: InsertPosition, html: string): void
  • Parameters

    • where: InsertPosition
    • html: string

    Returns void

insertAdjacentText

  • insertAdjacentText(where: InsertPosition, text: string): void
  • Parameters

    • where: InsertPosition
    • text: string

    Returns void

insertBefore

  • insertBefore<T>(newChild: T, refChild: Node | null): T
  • Type parameters

    • T: Node

    Parameters

    • newChild: T
    • refChild: Node | null

    Returns T

isDefaultNamespace

  • isDefaultNamespace(namespace: string | null): boolean
  • Parameters

    • namespace: string | null

    Returns boolean

isEqualNode

  • isEqualNode(otherNode: Node | null): boolean
  • Parameters

    • otherNode: Node | null

    Returns boolean

isSameNode

  • isSameNode(otherNode: Node | null): boolean
  • Parameters

    • otherNode: Node | null

    Returns boolean

lookupNamespaceURI

  • lookupNamespaceURI(prefix: string | null): string | null
  • Parameters

    • prefix: string | null

    Returns string | null

lookupPrefix

  • lookupPrefix(namespace: string | null): string | null
  • Parameters

    • namespace: string | null

    Returns string | null

matches

  • matches(selectors: string): boolean
  • Parameters

    • selectors: string

    Returns boolean

msGetRegionContent

  • msGetRegionContent(): any
  • Returns any

normalize

  • normalize(): void
  • Returns void

openModalAndPlay

  • openModalAndPlay(youtubeId: string): void

prepend

  • prepend(nodes: (string | Node)[]): void
  • Parameters

    • Rest nodes: (string | Node)[]

    Returns void

querySelector

  • querySelector<K>(selectors: K): HTMLElementTagNameMap[K] | null
  • querySelector<K>(selectors: K): SVGElementTagNameMap[K] | null
  • querySelector<E>(selectors: string): E | null
  • Type parameters

    • K: keyof HTMLElementTagNameMap

    Parameters

    • selectors: K

    Returns HTMLElementTagNameMap[K] | null

  • Type parameters

    • K: keyof SVGElementTagNameMap

    Parameters

    • selectors: K

    Returns SVGElementTagNameMap[K] | null

  • Type parameters

    • E: Element

    Parameters

    • selectors: string

    Returns E | null

querySelectorAll

  • querySelectorAll<K>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>
  • querySelectorAll<K>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>
  • querySelectorAll<E>(selectors: string): NodeListOf<E>
  • Type parameters

    • K: keyof HTMLElementTagNameMap

    Parameters

    • selectors: K

    Returns NodeListOf<HTMLElementTagNameMap[K]>

  • Type parameters

    • K: keyof SVGElementTagNameMap

    Parameters

    • selectors: K

    Returns NodeListOf<SVGElementTagNameMap[K]>

  • Type parameters

    • E: Element

    Parameters

    • selectors: string

    Returns NodeListOf<E>

releasePointerCapture

  • releasePointerCapture(pointerId: number): void
  • Parameters

    • pointerId: number

    Returns void

remove

  • remove(): void
  • Returns void

removeAttribute

  • removeAttribute(qualifiedName: string): void
  • Parameters

    • qualifiedName: string

    Returns void

removeAttributeNS

  • removeAttributeNS(namespace: string | null, localName: string): void
  • Parameters

    • namespace: string | null
    • localName: string

    Returns void

removeAttributeNode

  • removeAttributeNode(attr: Attr): Attr
  • Parameters

    • attr: Attr

    Returns Attr

removeChild

  • removeChild<T>(oldChild: T): T
  • Type parameters

    • T: Node

    Parameters

    • oldChild: T

    Returns T

removeController

  • removeController(controller: ReactiveController): void
  • Parameters

    • controller: ReactiveController

    Returns void

removeEventListener

  • removeEventListener<K>(type: K, listener: function, options: boolean | EventListenerOptions): void
  • removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options: boolean | EventListenerOptions): void
  • Type parameters

    • K: keyof HTMLElementEventMap

    Parameters

    • type: K
    • listener: function
        • (this: HTMLElement, ev: HTMLElementEventMap[K]): any
        • Parameters

          • this: HTMLElement
          • ev: HTMLElementEventMap[K]

          Returns any

    • Optional options: boolean | EventListenerOptions

    Returns void

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | EventListenerOptions

    Returns void

render

  • render(): object

replaceChild

  • replaceChild<T>(newChild: Node, oldChild: T): T
  • Type parameters

    • T: Node

    Parameters

    • newChild: Node
    • oldChild: T

    Returns T

replaceWith

  • replaceWith(nodes: (string | Node)[]): void
  • Parameters

    • Rest nodes: (string | Node)[]

    Returns void

requestFullscreen

  • requestFullscreen(): Promise<void>
  • Returns Promise<void>

requestUpdate

  • requestUpdate(name: PropertyKey, oldValue: unknown, options: PropertyDeclaration): void
  • Parameters

    • Optional name: PropertyKey
    • Optional oldValue: unknown
    • Optional options: PropertyDeclaration

    Returns void

scroll

  • scroll(options: ScrollToOptions): void
  • scroll(x: number, y: number): void
  • Parameters

    • Optional options: ScrollToOptions

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns void

scrollBy

  • scrollBy(options: ScrollToOptions): void
  • scrollBy(x: number, y: number): void
  • Parameters

    • Optional options: ScrollToOptions

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns void

scrollIntoView

  • scrollIntoView(arg: boolean | ScrollIntoViewOptions): void
  • Parameters

    • Optional arg: boolean | ScrollIntoViewOptions

    Returns void

scrollTo

  • scrollTo(options: ScrollToOptions): void
  • scrollTo(x: number, y: number): void
  • Parameters

    • Optional options: ScrollToOptions

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns void

setAttribute

  • setAttribute(qualifiedName: string, value: string): void
  • Parameters

    • qualifiedName: string
    • value: string

    Returns void

setAttributeNS

  • setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void
  • Parameters

    • namespace: string | null
    • qualifiedName: string
    • value: string

    Returns void

setAttributeNode

  • setAttributeNode(attr: Attr): Attr | null
  • Parameters

    • attr: Attr

    Returns Attr | null

setAttributeNodeNS

  • setAttributeNodeNS(attr: Attr): Attr | null
  • Parameters

    • attr: Attr

    Returns Attr | null

setPointerCapture

  • setPointerCapture(pointerId: number): void
  • Parameters

    • pointerId: number

    Returns void

toggle

  • toggle(open: boolean): void

toggleAttribute

  • toggleAttribute(qualifiedName: string, force: boolean): boolean
  • Parameters

    • qualifiedName: string
    • Optional force: boolean

    Returns boolean

webkitMatchesSelector

  • webkitMatchesSelector(selectors: string): boolean
  • Parameters

    • selectors: string

    Returns boolean

Static addInitializer

  • addInitializer(initializer: Initializer): void
  • Parameters

    • initializer: Initializer

    Returns void

Static createProperty

  • createProperty(name: PropertyKey, options: PropertyDeclaration): void
  • Parameters

    • name: PropertyKey
    • Optional options: PropertyDeclaration

    Returns void

Static getPropertyOptions

  • getPropertyOptions(name: PropertyKey): PropertyDeclaration<unknown, unknown>
  • Parameters

    • name: PropertyKey

    Returns PropertyDeclaration<unknown, unknown>

Static register