Skip to content

BlockSuite API Documentation / @blocksuite/blocks / EmbedGithubBlockComponent

Class: EmbedGithubBlockComponent

Extends

Other

new EmbedGithubBlockComponent(undefined)

new EmbedGithubBlockComponent(): EmbedGithubBlockComponent

Returns

EmbedGithubBlockComponent

Inherited from

EmbedBlockElement.constructor

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:504


ATTRIBUTE_NODE

readonly ATTRIBUTE_NODE: 2

Inherited from

EmbedBlockElement.ATTRIBUTE_NODE

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16315


CDATA_SECTION_NODE

readonly CDATA_SECTION_NODE: 4

node is a CDATASection node.

Inherited from

EmbedBlockElement.CDATA_SECTION_NODE

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16319


COMMENT_NODE

readonly COMMENT_NODE: 8

node is a Comment node.

Inherited from

EmbedBlockElement.COMMENT_NODE

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16325


DOCUMENT_FRAGMENT_NODE

readonly DOCUMENT_FRAGMENT_NODE: 11

node is a DocumentFragment node.

Inherited from

EmbedBlockElement.DOCUMENT_FRAGMENT_NODE

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16331


DOCUMENT_NODE

readonly DOCUMENT_NODE: 9

node is a document.

Inherited from

EmbedBlockElement.DOCUMENT_NODE

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16327


DOCUMENT_POSITION_CONTAINED_BY

readonly DOCUMENT_POSITION_CONTAINED_BY: 16

Set when other is a descendant of node.

Inherited from

EmbedBlockElement.DOCUMENT_POSITION_CONTAINED_BY

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16342


DOCUMENT_POSITION_CONTAINS

readonly DOCUMENT_POSITION_CONTAINS: 8

Set when other is an ancestor of node.

Inherited from

EmbedBlockElement.DOCUMENT_POSITION_CONTAINS

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16340


DOCUMENT_POSITION_DISCONNECTED

readonly DOCUMENT_POSITION_DISCONNECTED: 1

Set when node and other are not in the same tree.

Inherited from

EmbedBlockElement.DOCUMENT_POSITION_DISCONNECTED

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16334


DOCUMENT_POSITION_FOLLOWING

readonly DOCUMENT_POSITION_FOLLOWING: 4

Set when other is following node.

Inherited from

EmbedBlockElement.DOCUMENT_POSITION_FOLLOWING

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16338


DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32

Inherited from

EmbedBlockElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16343


DOCUMENT_POSITION_PRECEDING

readonly DOCUMENT_POSITION_PRECEDING: 2

Set when other is preceding node.

Inherited from

EmbedBlockElement.DOCUMENT_POSITION_PRECEDING

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16336


DOCUMENT_TYPE_NODE

readonly DOCUMENT_TYPE_NODE: 10

node is a doctype.

Inherited from

EmbedBlockElement.DOCUMENT_TYPE_NODE

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16329


ELEMENT_NODE

readonly ELEMENT_NODE: 1

node is an element.

Inherited from

EmbedBlockElement.ELEMENT_NODE

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16314


ENTITY_NODE

readonly ENTITY_NODE: 6

Inherited from

EmbedBlockElement.ENTITY_NODE

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16321


ENTITY_REFERENCE_NODE

readonly ENTITY_REFERENCE_NODE: 5

Inherited from

EmbedBlockElement.ENTITY_REFERENCE_NODE

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16320


NOTATION_NODE

readonly NOTATION_NODE: 12

Inherited from

EmbedBlockElement.NOTATION_NODE

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16332


PROCESSING_INSTRUCTION_NODE

readonly PROCESSING_INSTRUCTION_NODE: 7

node is a ProcessingInstruction node.

Inherited from

EmbedBlockElement.PROCESSING_INSTRUCTION_NODE

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16323


TEXT_NODE

readonly TEXT_NODE: 3

node is a Text node.

Inherited from

EmbedBlockElement.TEXT_NODE

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16317


_cardStyle

_cardStyle: EmbedCardStyle = 'horizontal'

Overrides

EmbedBlockElement._cardStyle

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:37


_disposables

protected _disposables: DisposableGroup

Inherited from

EmbedBlockElement._disposables

Source

packages/framework/block-std/dist/view/utils/with-disposable.d.ts:5


_height

protected _height: number = EMBED_CARD_HEIGHT.horizontal

Inherited from

EmbedBlockElement._height

Source

packages/blocks/src/_common/embed-block-helper/embed-block-element.ts:32


_isSelected

private _isSelected: boolean = false

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:40


_whenHover

private _whenHover: HoverController

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:142


_width

protected _width: number = EMBED_CARD_WIDTH.horizontal

Inherited from

EmbedBlockElement._width

Source

packages/blocks/src/_common/embed-block-helper/embed-block-element.ts:31


accessKey

accessKey: string

MDN Reference

Inherited from

EmbedBlockElement.accessKey

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10102


accessKeyLabel

readonly accessKeyLabel: string

MDN Reference

Inherited from

EmbedBlockElement.accessKeyLabel

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10104


ariaAtomic

ariaAtomic: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaAtomic

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2207


ariaAutoComplete

ariaAutoComplete: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaAutoComplete

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2209


ariaBusy

ariaBusy: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaBusy

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2211


ariaChecked

ariaChecked: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaChecked

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2213


ariaColCount

ariaColCount: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaColCount

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2215


ariaColIndex

ariaColIndex: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaColIndex

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2217


ariaColSpan

ariaColSpan: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaColSpan

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2219


ariaCurrent

ariaCurrent: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaCurrent

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2221


ariaDescription

ariaDescription: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaDescription

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2223


ariaDisabled

ariaDisabled: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaDisabled

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2225


ariaExpanded

ariaExpanded: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaExpanded

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2227


ariaHasPopup

ariaHasPopup: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaHasPopup

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2229


ariaHidden

ariaHidden: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaHidden

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2231


ariaInvalid

ariaInvalid: null | string

Inherited from

EmbedBlockElement.ariaInvalid

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2232


ariaKeyShortcuts

ariaKeyShortcuts: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaKeyShortcuts

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2234


ariaLabel

ariaLabel: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaLabel

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2236


ariaLevel

ariaLevel: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaLevel

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2238


ariaLive

ariaLive: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaLive

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2240


ariaModal

ariaModal: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaModal

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2242


ariaMultiLine

ariaMultiLine: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaMultiLine

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2244


ariaMultiSelectable

ariaMultiSelectable: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaMultiSelectable

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2246


ariaOrientation

ariaOrientation: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaOrientation

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2248


ariaPlaceholder

ariaPlaceholder: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaPlaceholder

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2250


ariaPosInSet

ariaPosInSet: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaPosInSet

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2252


ariaPressed

ariaPressed: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaPressed

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2254


ariaReadOnly

ariaReadOnly: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaReadOnly

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2256


ariaRequired

ariaRequired: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaRequired

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2258


ariaRoleDescription

ariaRoleDescription: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaRoleDescription

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2260


ariaRowCount

ariaRowCount: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaRowCount

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2262


ariaRowIndex

ariaRowIndex: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaRowIndex

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2264


ariaRowSpan

ariaRowSpan: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaRowSpan

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2266


ariaSelected

ariaSelected: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaSelected

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2268


ariaSetSize

ariaSetSize: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaSetSize

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2270


ariaSort

ariaSort: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaSort

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2272


ariaValueMax

ariaValueMax: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaValueMax

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2274


ariaValueMin

ariaValueMin: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaValueMin

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2276


ariaValueNow

ariaValueNow: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaValueNow

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2278


ariaValueText

ariaValueText: null | string

MDN Reference

Inherited from

EmbedBlockElement.ariaValueText

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2280


assignedSlot

readonly assignedSlot: null | HTMLSlotElement

MDN Reference

Inherited from

EmbedBlockElement.assignedSlot

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:21437


attributeStyleMap

readonly attributeStyleMap: StylePropertyMap

Inherited from

EmbedBlockElement.attributeStyleMap

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7900


attributes

readonly attributes: NamedNodeMap

MDN Reference

Inherited from

EmbedBlockElement.attributes

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7644


autocapitalize

autocapitalize: string

Inherited from

EmbedBlockElement.autocapitalize

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10105


autofocus

autofocus: boolean

MDN Reference

Inherited from

EmbedBlockElement.autofocus

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:12118


baseURI

readonly baseURI: string

Returns node's node document's document base URL.

MDN Reference

Inherited from

EmbedBlockElement.baseURI

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16184


captionElement

captionElement: EmbedCardCaption

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:46


childElementCount

readonly childElementCount: number

MDN Reference

Inherited from

EmbedBlockElement.childElementCount

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16877


childNodes

readonly childNodes: NodeListOf<ChildNode>

Returns the children.

MDN Reference

Inherited from

EmbedBlockElement.childNodes

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16190


children

readonly children: HTMLCollection

Returns the child elements.

MDN Reference

Inherited from

EmbedBlockElement.children

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16883


classList

readonly classList: DOMTokenList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.

MDN Reference

Inherited from

EmbedBlockElement.classList

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7650


className

className: string

Returns the value of element's class content attribute. Can be set to change it.

MDN Reference

Inherited from

EmbedBlockElement.className

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7656


clientHeight

readonly clientHeight: number

MDN Reference

Inherited from

EmbedBlockElement.clientHeight

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7658


clientLeft

readonly clientLeft: number

MDN Reference

Inherited from

EmbedBlockElement.clientLeft

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7660


clientTop

readonly clientTop: number

MDN Reference

Inherited from

EmbedBlockElement.clientTop

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7662


clientWidth

readonly clientWidth: number

MDN Reference

Inherited from

EmbedBlockElement.clientWidth

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7664


content

content: null | TemplateResult

Inherited from

EmbedBlockElement.content

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:15


contentEditable

contentEditable: string

MDN Reference

Inherited from

EmbedBlockElement.contentEditable

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7907


dataset

readonly dataset: DOMStringMap

MDN Reference

Inherited from

EmbedBlockElement.dataset

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:12120


dir

dir: string

MDN Reference

Inherited from

EmbedBlockElement.dir

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10107


dirty

dirty: boolean

Inherited from

EmbedBlockElement.dirty

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:18


disposables

readonly disposables: DisposableGroup

Inherited from

EmbedBlockElement.disposables

Source

packages/framework/block-std/dist/view/utils/with-disposable.d.ts:4


doc

doc: Doc

Inherited from

EmbedBlockElement.doc

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:17


draggable

draggable: boolean

MDN Reference

Inherited from

EmbedBlockElement.draggable

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10109


enterKeyHint

enterKeyHint: string

MDN Reference

Inherited from

EmbedBlockElement.enterKeyHint

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7909


firstChild

readonly firstChild: null | ChildNode

Returns the first child.

MDN Reference

Inherited from

EmbedBlockElement.firstChild

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16196


firstElementChild

readonly firstElementChild: null | Element

Returns the first child that is an element, and null otherwise.

MDN Reference

Inherited from

EmbedBlockElement.firstElementChild

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16889


handleEvent

handleEvent: (name, handler, options?) => void

Parameters

name: "click" | "doubleClick" | "tripleClick" | "pointerDown" | "pointerMove" | "pointerUp" | "pointerOut" | "dragStart" | "dragMove" | "dragEnd" | "keyDown" | "keyUp" | "selectionChange" | "compositionStart" | "compositionUpdate" | "compositionEnd" | "cut" | "copy" | "paste" | "beforeInput" | "blur" | "focus" | "drop" | "contextMenu" | "wheel"

handler: UIEventHandler

options?

options.flavour?: boolean

options.global?: boolean

Returns

void

Inherited from

EmbedBlockElement.handleEvent

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:32


hidden

hidden: boolean

MDN Reference

Inherited from

EmbedBlockElement.hidden

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10111


host

host: EditorHost

Inherited from

EmbedBlockElement.host

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:13


id

id: string

Returns the value of element's id content attribute. Can be set to change it.

MDN Reference

Inherited from

EmbedBlockElement.id

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7670


inert

inert: boolean

MDN Reference

Inherited from

EmbedBlockElement.inert

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10113


innerHTML

innerHTML: string

MDN Reference

Inherited from

EmbedBlockElement.innerHTML

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:14381


innerText

innerText: string

MDN Reference

Inherited from

EmbedBlockElement.innerText

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10115


inputMode

inputMode: string

MDN Reference

Inherited from

EmbedBlockElement.inputMode

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7911


isConnected

readonly isConnected: boolean

Returns true if node is connected and false otherwise.

MDN Reference

Inherited from

EmbedBlockElement.isConnected

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16202


isContentEditable

readonly isContentEditable: boolean

MDN Reference

Inherited from

EmbedBlockElement.isContentEditable

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7913


lang

lang: string

MDN Reference

Inherited from

EmbedBlockElement.lang

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10117


lastChild

readonly lastChild: null | ChildNode

Returns the last child.

MDN Reference

Inherited from

EmbedBlockElement.lastChild

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16208


lastElementChild

readonly lastElementChild: null | Element

Returns the last child that is an element, and null otherwise.

MDN Reference

Inherited from

EmbedBlockElement.lastElementChild

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16895


loading

loading: boolean = false

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:43


localName

readonly localName: string

Returns the local name.

MDN Reference

Inherited from

EmbedBlockElement.localName

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7676


model

model: EmbedGithubModel

Inherited from

EmbedBlockElement.model

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:14


namespaceURI

readonly namespaceURI: null | string

Returns the namespace.

MDN Reference

Inherited from

EmbedBlockElement.namespaceURI

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7682


nextElementSibling

readonly nextElementSibling: null | Element

Returns the first following sibling that is an element, and null otherwise.

MDN Reference

Inherited from

EmbedBlockElement.nextElementSibling

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16464


nextSibling

readonly nextSibling: null | ChildNode

Returns the next sibling.

MDN Reference

Inherited from

EmbedBlockElement.nextSibling

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16214


nodeName

readonly nodeName: string

Returns a string appropriate for the type of node.

MDN Reference

Inherited from

EmbedBlockElement.nodeName

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16220


nodeType

readonly nodeType: number

Returns the type of node.

MDN Reference

Inherited from

EmbedBlockElement.nodeType

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16226


nodeValue

nodeValue: null | string

MDN Reference

Inherited from

EmbedBlockElement.nodeValue

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16228


nonce?

optional nonce: string

MDN Reference

Inherited from

EmbedBlockElement.nonce

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:12122


offsetHeight

readonly offsetHeight: number

MDN Reference

Inherited from

EmbedBlockElement.offsetHeight

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10119


offsetLeft

readonly offsetLeft: number

MDN Reference

Inherited from

EmbedBlockElement.offsetLeft

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10121


offsetParent

readonly offsetParent: null | Element

MDN Reference

Inherited from

EmbedBlockElement.offsetParent

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10123


offsetTop

readonly offsetTop: number

MDN Reference

Inherited from

EmbedBlockElement.offsetTop

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10125


offsetWidth

readonly offsetWidth: number

MDN Reference

Inherited from

EmbedBlockElement.offsetWidth

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10127


onabort

onabort: null | (this, ev) => any

Fires when the user aborts the download.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onabort

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:8994


onanimationcancel

onanimationcancel: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onanimationcancel

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:8996


onanimationend

onanimationend: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onanimationend

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:8998


onanimationiteration

onanimationiteration: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onanimationiteration

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9000


onanimationstart

onanimationstart: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onanimationstart

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9002


onauxclick

onauxclick: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onauxclick

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9004


onbeforeinput

onbeforeinput: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onbeforeinput

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9006


onbeforetoggle

onbeforetoggle: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onbeforetoggle

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9008


onblur

onblur: null | (this, ev) => any

Fires when the object loses the input focus.

Param

The focus event.

MDN Reference

Inherited from

EmbedBlockElement.onblur

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9015


oncancel

oncancel: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.oncancel

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9017


oncanplay

oncanplay: null | (this, ev) => any

Occurs when playback is possible, but would require further buffering.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.oncanplay

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9024


oncanplaythrough

oncanplaythrough: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.oncanplaythrough

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9026


onchange

onchange: null | (this, ev) => any

Fires when the contents of the object or selection have changed.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onchange

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9033


onclick

onclick: null | (this, ev) => any

Fires when the user clicks the left mouse button on the object

Param

The mouse event.

MDN Reference

Inherited from

EmbedBlockElement.onclick

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9040


onclose

onclose: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onclose

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9042


oncontextmenu

oncontextmenu: null | (this, ev) => any

Fires when the user clicks the right mouse button in the client area, opening the context menu.

Param

The mouse event.

MDN Reference

Inherited from

EmbedBlockElement.oncontextmenu

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9049


oncopy

oncopy: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.oncopy

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9051


oncuechange

oncuechange: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.oncuechange

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9053


oncut

oncut: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.oncut

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9055


ondblclick

ondblclick: null | (this, ev) => any

Fires when the user double-clicks the object.

Param

The mouse event.

MDN Reference

Inherited from

EmbedBlockElement.ondblclick

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9062


ondrag

ondrag: null | (this, ev) => any

Fires on the source object continuously during a drag operation.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.ondrag

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9069


ondragend

ondragend: null | (this, ev) => any

Fires on the source object when the user releases the mouse at the close of a drag operation.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.ondragend

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9076


ondragenter

ondragenter: null | (this, ev) => any

Fires on the target element when the user drags the object to a valid drop target.

Param

The drag event.

MDN Reference

Inherited from

EmbedBlockElement.ondragenter

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9083


ondragleave

ondragleave: null | (this, ev) => any

Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.

Param

The drag event.

MDN Reference

Inherited from

EmbedBlockElement.ondragleave

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9090


ondragover

ondragover: null | (this, ev) => any

Fires on the target element continuously while the user drags the object over a valid drop target.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.ondragover

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9097


ondragstart

ondragstart: null | (this, ev) => any

Fires on the source object when the user starts to drag a text selection or selected object.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.ondragstart

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9104


ondrop

ondrop: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.ondrop

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9106


ondurationchange

ondurationchange: null | (this, ev) => any

Occurs when the duration attribute is updated.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.ondurationchange

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9113


onemptied

onemptied: null | (this, ev) => any

Occurs when the media element is reset to its initial state.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onemptied

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9120


onended

onended: null | (this, ev) => any

Occurs when the end of playback is reached.

Param

The event

MDN Reference

Inherited from

EmbedBlockElement.onended

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9127


onerror

onerror: OnErrorEventHandler

Fires when an error occurs during object loading.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onerror

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9134


onfocus

onfocus: null | (this, ev) => any

Fires when the object receives focus.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onfocus

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9141


onformdata

onformdata: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onformdata

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9143


onfullscreenchange

onfullscreenchange: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onfullscreenchange

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7684


onfullscreenerror

onfullscreenerror: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onfullscreenerror

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7686


ongotpointercapture

ongotpointercapture: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.ongotpointercapture

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9145


oninput

oninput: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.oninput

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9147


oninvalid

oninvalid: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.oninvalid

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9149


onkeydown

onkeydown: null | (this, ev) => any

Fires when the user presses a key.

Param

The keyboard event

MDN Reference

Inherited from

EmbedBlockElement.onkeydown

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9156


onkeypress

onkeypress: null | (this, ev) => any

Fires when the user presses an alphanumeric key.

Param

The event.

Deprecated

MDN Reference

Inherited from

EmbedBlockElement.onkeypress

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9164


onkeyup

onkeyup: null | (this, ev) => any

Fires when the user releases a key.

Param

The keyboard event

MDN Reference

Inherited from

EmbedBlockElement.onkeyup

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9171


onload

onload: null | (this, ev) => any

Fires immediately after the browser loads the object.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onload

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9178


onloadeddata

onloadeddata: null | (this, ev) => any

Occurs when media data is loaded at the current playback position.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onloadeddata

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9185


onloadedmetadata

onloadedmetadata: null | (this, ev) => any

Occurs when the duration and dimensions of the media have been determined.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onloadedmetadata

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9192


onloadstart

onloadstart: null | (this, ev) => any

Occurs when Internet Explorer begins looking for media data.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onloadstart

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9199


onlostpointercapture

onlostpointercapture: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onlostpointercapture

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9201


onmousedown

onmousedown: null | (this, ev) => any

Fires when the user clicks the object with either mouse button.

Param

The mouse event.

MDN Reference

Inherited from

EmbedBlockElement.onmousedown

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9208


onmouseenter

onmouseenter: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onmouseenter

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9210


onmouseleave

onmouseleave: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onmouseleave

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9212


onmousemove

onmousemove: null | (this, ev) => any

Fires when the user moves the mouse over the object.

Param

The mouse event.

MDN Reference

Inherited from

EmbedBlockElement.onmousemove

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9219


onmouseout

onmouseout: null | (this, ev) => any

Fires when the user moves the mouse pointer outside the boundaries of the object.

Param

The mouse event.

MDN Reference

Inherited from

EmbedBlockElement.onmouseout

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9226


onmouseover

onmouseover: null | (this, ev) => any

Fires when the user moves the mouse pointer into the object.

Param

The mouse event.

MDN Reference

Inherited from

EmbedBlockElement.onmouseover

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9233


onmouseup

onmouseup: null | (this, ev) => any

Fires when the user releases a mouse button while the mouse is over the object.

Param

The mouse event.

MDN Reference

Inherited from

EmbedBlockElement.onmouseup

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9240


onpaste

onpaste: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onpaste

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9242


onpause

onpause: null | (this, ev) => any

Occurs when playback is paused.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onpause

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9249


onplay

onplay: null | (this, ev) => any

Occurs when the play method is requested.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onplay

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9256


onplaying

onplaying: null | (this, ev) => any

Occurs when the audio or video has started playing.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onplaying

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9263


onpointercancel

onpointercancel: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onpointercancel

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9265


onpointerdown

onpointerdown: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onpointerdown

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9267


onpointerenter

onpointerenter: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onpointerenter

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9269


onpointerleave

onpointerleave: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onpointerleave

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9271


onpointermove

onpointermove: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onpointermove

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9273


onpointerout

onpointerout: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onpointerout

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9275


onpointerover

onpointerover: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onpointerover

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9277


onpointerup

onpointerup: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onpointerup

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9279


onprogress

onprogress: null | (this, ev) => any

Occurs to indicate progress while downloading media data.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onprogress

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9286


onratechange

onratechange: null | (this, ev) => any

Occurs when the playback rate is increased or decreased.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onratechange

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9293


onreset

onreset: null | (this, ev) => any

Fires when the user resets a form.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onreset

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9300


onresize

onresize: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onresize

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9302


onscroll

onscroll: null | (this, ev) => any

Fires when the user repositions the scroll box in the scroll bar on the object.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onscroll

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9309


onscrollend

onscrollend: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onscrollend

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9311


onsecuritypolicyviolation

onsecuritypolicyviolation: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onsecuritypolicyviolation

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9313


onseeked

onseeked: null | (this, ev) => any

Occurs when the seek operation ends.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onseeked

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9320


onseeking

onseeking: null | (this, ev) => any

Occurs when the current playback position is moved.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onseeking

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9327


onselect

onselect: null | (this, ev) => any

Fires when the current selection changes.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onselect

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9334


onselectionchange

onselectionchange: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onselectionchange

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9336


onselectstart

onselectstart: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onselectstart

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9338


onslotchange

onslotchange: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onslotchange

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9340


onstalled

onstalled: null | (this, ev) => any

Occurs when the download has stopped.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onstalled

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9347


onsubmit

onsubmit: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onsubmit

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9349


onsuspend

onsuspend: null | (this, ev) => any

Occurs if the load operation has been intentionally halted.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onsuspend

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9356


ontimeupdate

ontimeupdate: null | (this, ev) => any

Occurs to indicate the current playback position.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.ontimeupdate

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9363


ontoggle

ontoggle: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.ontoggle

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9365


ontouchcancel?

optional ontouchcancel: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.ontouchcancel

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9367


ontouchend?

optional ontouchend: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.ontouchend

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9369


ontouchmove?

optional ontouchmove: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.ontouchmove

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9371


ontouchstart?

optional ontouchstart: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.ontouchstart

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9373


ontransitioncancel

ontransitioncancel: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.ontransitioncancel

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9375


ontransitionend

ontransitionend: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.ontransitionend

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9377


ontransitionrun

ontransitionrun: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.ontransitionrun

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9379


ontransitionstart

ontransitionstart: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.ontransitionstart

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9381


onvolumechange

onvolumechange: null | (this, ev) => any

Occurs when the volume is changed, or playback is muted or unmuted.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onvolumechange

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9388


onwaiting

onwaiting: null | (this, ev) => any

Occurs when playback stops because the next frame of a video resource is not available.

Param

The event.

MDN Reference

Inherited from

EmbedBlockElement.onwaiting

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9395


onwebkitanimationend

onwebkitanimationend: null | (this, ev) => any

Deprecated

This is a legacy alias of onanimationend.

MDN Reference

Inherited from

EmbedBlockElement.onwebkitanimationend

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9401


onwebkitanimationiteration

onwebkitanimationiteration: null | (this, ev) => any

Deprecated

This is a legacy alias of onanimationiteration.

MDN Reference

Inherited from

EmbedBlockElement.onwebkitanimationiteration

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9407


onwebkitanimationstart

onwebkitanimationstart: null | (this, ev) => any

Deprecated

This is a legacy alias of onanimationstart.

MDN Reference

Inherited from

EmbedBlockElement.onwebkitanimationstart

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9413


onwebkittransitionend

onwebkittransitionend: null | (this, ev) => any

Deprecated

This is a legacy alias of ontransitionend.

MDN Reference

Inherited from

EmbedBlockElement.onwebkittransitionend

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9419


onwheel

onwheel: null | (this, ev) => any

MDN Reference

Inherited from

EmbedBlockElement.onwheel

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:9421


outerHTML

outerHTML: string

MDN Reference

Inherited from

EmbedBlockElement.outerHTML

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7688


outerText

outerText: string

MDN Reference

Inherited from

EmbedBlockElement.outerText

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10129


ownerDocument

readonly ownerDocument: Document

Inherited from

EmbedBlockElement.ownerDocument

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7689


parentElement

readonly parentElement: null | HTMLElement

Returns the parent element.

MDN Reference

Inherited from

EmbedBlockElement.parentElement

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16240


parentNode

readonly parentNode: null | ParentNode

Returns the parent.

MDN Reference

Inherited from

EmbedBlockElement.parentNode

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16246


part

readonly part: DOMTokenList

MDN Reference

Inherited from

EmbedBlockElement.part

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7691


path

path: string[]

Inherited from

EmbedBlockElement.path

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:21


popover

popover: null | string

MDN Reference

Inherited from

EmbedBlockElement.popover

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10131


prefix

readonly prefix: null | string

Returns the namespace prefix.

MDN Reference

Inherited from

EmbedBlockElement.prefix

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7697


previousElementSibling

readonly previousElementSibling: null | Element

Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference

Inherited from

EmbedBlockElement.previousElementSibling

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16470


previousSibling

readonly previousSibling: null | ChildNode

Returns the previous sibling.

MDN Reference

Inherited from

EmbedBlockElement.previousSibling

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16252


renderChildren

renderChildren: (model) => TemplateResult

Parameters

model: BlockModel<object>

Returns

TemplateResult

Inherited from

EmbedBlockElement.renderChildren

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:40


role

role: null | string

Inherited from

EmbedBlockElement.role

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2281


scrollHeight

readonly scrollHeight: number

MDN Reference

Inherited from

EmbedBlockElement.scrollHeight

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7699


scrollLeft

scrollLeft: number

MDN Reference

Inherited from

EmbedBlockElement.scrollLeft

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7701


scrollTop

scrollTop: number

MDN Reference

Inherited from

EmbedBlockElement.scrollTop

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7703


scrollWidth

readonly scrollWidth: number

MDN Reference

Inherited from

EmbedBlockElement.scrollWidth

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7705


selected

selected: null | BaseSelection

Inherited from

EmbedBlockElement.selected

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:19


service

service: EmbedGithubService

Inherited from

EmbedBlockElement.service

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:20


shadowRoot

readonly shadowRoot: null | ShadowRoot

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.

MDN Reference

Inherited from

EmbedBlockElement.shadowRoot

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7711


slot

slot: string

Returns the value of element's slot content attribute. Can be set to change it.

MDN Reference

Inherited from

EmbedBlockElement.slot

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7717


spellcheck

spellcheck: boolean

MDN Reference

Inherited from

EmbedBlockElement.spellcheck

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10133


style

readonly style: CSSStyleDeclaration

MDN Reference

Inherited from

EmbedBlockElement.style

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7902


tabIndex

tabIndex: number

MDN Reference

Inherited from

EmbedBlockElement.tabIndex

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:12124


tagName

readonly tagName: string

Returns the HTML-uppercased qualified name.

MDN Reference

Inherited from

EmbedBlockElement.tagName

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7723


textContent

textContent: null | string

MDN Reference

Inherited from

EmbedBlockElement.textContent

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16254


title

title: string

MDN Reference

Inherited from

EmbedBlockElement.title

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10135


translate

translate: boolean

MDN Reference

Inherited from

EmbedBlockElement.translate

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10137


widgets

widgets: Record<string, TemplateResult>

Inherited from

EmbedBlockElement.widgets

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:16


[metadata]

static [metadata]: object & Record<PropertyKey, unknown>

Inherited from

EmbedBlockElement.[metadata]

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:417


_$litElement$

static _$litElement$: boolean

Inherited from

EmbedBlockElement._$litElement$

Source

node_modules/.pnpm/lit-element@4.0.4/node_modules/lit-element/development/lit-element.d.ts:84


_initializers?

static optional _initializers: Initializer[]

Inherited from

EmbedBlockElement._initializers

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:258


disableShadowRoot

static disableShadowRoot: boolean

Inherited from

EmbedBlockElement.disableShadowRoot

Source

packages/framework/block-std/dist/view/element/shadowless-element.d.ts:4


finalized

protected static finalized: undefined | true

Marks class as having been finalized, which includes creating properties from static properties, but does not include all properties created from decorators.

Nocollapse

Inherited from

EmbedBlockElement.finalized

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:272


bound

get bound(): Bound

Returns

Bound

Source

packages/blocks/src/_common/embed-block-helper/embed-block-element.ts:52


childBlockElements

get childBlockElements(): BlockElement<BlockModel<object>, BlockService<BlockModel<object>>, string>[]

Returns

BlockElement<BlockModel<object>, BlockService<BlockModel<object>>, string>[]

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:24


edgeless

get edgeless(): null | EdgelessRootBlockComponent

Returns

null | EdgelessRootBlockComponent

Source

packages/blocks/src/_common/embed-block-helper/embed-block-element.ts:40


flavour

get flavour(): string

Returns

string

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:27


isInSurface

get isInSurface(): boolean

Returns

boolean

Source

packages/blocks/src/_common/embed-block-helper/embed-block-element.ts:36


isVersionMismatch

get isVersionMismatch(): boolean

Returns

boolean

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:31


parentBlockElement

get parentBlockElement(): BlockElement<BlockModel<object>, BlockService<BlockModel<object>>, string>

Returns

BlockElement<BlockModel<object>, BlockService<BlockModel<object>>, string>

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:23


parentPath

get parentPath(): string[]

Returns

string[]

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:22


rootElement

get rootElement(): BlockElement<BlockModel<object>, BlockService<BlockModel<object>>, string>

Returns

BlockElement<BlockModel<object>, BlockService<BlockModel<object>>, string>

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:25


selection

get selection(): SelectionManager

Returns

SelectionManager

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:29


std

get std(): BlockStdScope

Returns

BlockStdScope

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:30


surface

get surface(): null | SurfaceBlockComponent

Returns

null | SurfaceBlockComponent

Source

packages/blocks/src/_common/embed-block-helper/embed-block-element.ts:47


topContenteditableElement

get topContenteditableElement(): null | BlockElement<BlockModel<object>, BlockService<BlockModel<object>>, string>

Returns

null | BlockElement<BlockModel<object>, BlockService<BlockModel<object>>, string>

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:26


widgetElements

get widgetElements(): Partial<Record<WidgetName, WidgetElement<BlockElement<BlockModel<object>, BlockService<BlockModel<object>>, string>>>>

Returns

Partial<Record<WidgetName, WidgetElement<BlockElement<BlockModel<object>, BlockService<BlockModel<object>>, string>>>>

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:28


_handleAssigneeClick()

private _handleAssigneeClick(assignee): void

Parameters

assignee: string

Returns

void

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:68


_handleClick()

private _handleClick(event): void

Parameters

event: MouseEvent

Returns

void

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:56


_handleDoubleClick()

private _handleDoubleClick(event): void

Parameters

event: MouseEvent

Returns

void

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:63


_selectBlock()

private _selectBlock(): void

Returns

void

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:48


addEventListener()

addEventListener(type, listener, options)

addEventListener<K>(type, listener, options?): void

Type parameters

K extends keyof HTMLElementEventMap

Parameters

type: K

listener

options?: boolean | AddEventListenerOptions

Returns

void

Inherited from

EmbedBlockElement.addEventListener

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10148

addEventListener(type, listener, options)

addEventListener(type, listener, options?): void

Parameters

type: string

listener: EventListenerOrEventListenerObject

options?: boolean | AddEventListenerOptions

Returns

void

Inherited from

EmbedBlockElement.addEventListener

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10149


after()

after(...nodes): void

Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

• ...nodes: (string | Node)[]

Returns

void

Inherited from

EmbedBlockElement.after

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:5641


animate()

animate(keyframes, options?): Animation

MDN Reference

Parameters

keyframes: null | Keyframe[] | PropertyIndexedKeyframes

options?: number | KeyframeAnimationOptions

Returns

Animation

Inherited from

EmbedBlockElement.animate

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2431


append()

append(...nodes): void

Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

• ...nodes: (string | Node)[]

Returns

void

Inherited from

EmbedBlockElement.append

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16903


appendChild()

appendChild<T>(node): T

MDN Reference

Type parameters

T extends Node

Parameters

node: T

Returns

T

Inherited from

EmbedBlockElement.appendChild

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16256


attachInternals()

attachInternals(): ElementInternals

MDN Reference

Returns

ElementInternals

Inherited from

EmbedBlockElement.attachInternals

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10139


attachShadow()

attachShadow(init): ShadowRoot

Creates a shadow root for element and returns it.

MDN Reference

Parameters

init: ShadowRootInit

Returns

ShadowRoot

Inherited from

EmbedBlockElement.attachShadow

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7729


before()

before(...nodes): void

Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

• ...nodes: (string | Node)[]

Returns

void

Inherited from

EmbedBlockElement.before

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:5649


bindHotKey()

bindHotKey(keymap, options?): void

Parameters

keymap: Record<string, UIEventHandler>

options?

options.flavour?: boolean

options.global?: boolean

Returns

void

Inherited from

EmbedBlockElement.bindHotKey

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:36


blur()

blur(): void

MDN Reference

Returns

void

Inherited from

EmbedBlockElement.blur

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:12126


checkVisibility()

checkVisibility(options?): boolean

MDN Reference

Parameters

options?: CheckVisibilityOptions

Returns

boolean

Inherited from

EmbedBlockElement.checkVisibility

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7731


click()

click(): void

MDN Reference

Returns

void

Inherited from

EmbedBlockElement.click

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10141


cloneNode()

cloneNode(deep?): Node

Returns a copy of node. If deep is true, the copy also includes the node's descendants.

MDN Reference

Parameters

deep?: boolean

Returns

Node

Inherited from

EmbedBlockElement.cloneNode

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16262


closest()

closest(selector)

closest<K>(selector): null | HTMLElementTagNameMap[K]

Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.

MDN Reference

Type parameters

K extends keyof HTMLElementTagNameMap

Parameters

selector: K

Returns

null | HTMLElementTagNameMap[K]

Inherited from

EmbedBlockElement.closest

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7737

closest(selector)

closest<K>(selector): null | SVGElementTagNameMap[K]

Type parameters

K extends keyof SVGElementTagNameMap

Parameters

selector: K

Returns

null | SVGElementTagNameMap[K]

Inherited from

EmbedBlockElement.closest

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7738

closest(selector)

closest<K>(selector): null | MathMLElementTagNameMap[K]

Type parameters

K extends keyof MathMLElementTagNameMap

Parameters

selector: K

Returns

null | MathMLElementTagNameMap[K]

Inherited from

EmbedBlockElement.closest

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7739

closest(selectors)

closest<E>(selectors): null | E

Type parameters

E extends Element = Element

Parameters

selectors: string

Returns

null | E

Inherited from

EmbedBlockElement.closest

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7740


compareDocumentPosition()

compareDocumentPosition(other): number

Returns a bitmask indicating the position of other relative to node.

MDN Reference

Parameters

other: Node

Returns

number

Inherited from

EmbedBlockElement.compareDocumentPosition

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16268


computedStyleMap()

computedStyleMap(): StylePropertyMapReadOnly

MDN Reference

Returns

StylePropertyMapReadOnly

Inherited from

EmbedBlockElement.computedStyleMap

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7742


connectedCallback()

connectedCallback(): void

Returns

void

Overrides

EmbedBlockElement.connectedCallback

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:89


contains()

contains(other): boolean

Returns true if other is an inclusive descendant of node, and false otherwise.

MDN Reference

Parameters

other: null | Node

Returns

boolean

Inherited from

EmbedBlockElement.contains

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16274


createRenderRoot()

createRenderRoot(): HTMLElement | DocumentFragment

Returns

HTMLElement | DocumentFragment

Inherited from

EmbedBlockElement.createRenderRoot

Source

packages/framework/block-std/dist/view/element/shadowless-element.d.ts:6


disconnectedCallback()

disconnectedCallback(): void

Returns

void

Inherited from

EmbedBlockElement.disconnectedCallback

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:44


dispatchEvent()

dispatchEvent(event): boolean

Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

MDN Reference

Parameters

event: Event

Returns

boolean

Inherited from

EmbedBlockElement.dispatchEvent

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:8262


focus()

focus(options?): void

MDN Reference

Parameters

options?: FocusOptions

Returns

void

Inherited from

EmbedBlockElement.focus

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:12128


getAnimations()

getAnimations(options?): Animation[]

MDN Reference

Parameters

options?: GetAnimationsOptions

Returns

Animation[]

Inherited from

EmbedBlockElement.getAnimations

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:2433


getAttribute()

getAttribute(qualifiedName): null | string

Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.

MDN Reference

Parameters

qualifiedName: string

Returns

null | string

Inherited from

EmbedBlockElement.getAttribute

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7748


getAttributeNS()

getAttributeNS(namespace, localName): null | string

Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.

MDN Reference

Parameters

namespace: null | string

localName: string

Returns

null | string

Inherited from

EmbedBlockElement.getAttributeNS

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7754


getAttributeNames()

getAttributeNames(): string[]

Returns the qualified names of all element's attributes. Can contain duplicates.

MDN Reference

Returns

string[]

Inherited from

EmbedBlockElement.getAttributeNames

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7760


getAttributeNode()

getAttributeNode(qualifiedName): null | Attr

MDN Reference

Parameters

qualifiedName: string

Returns

null | Attr

Inherited from

EmbedBlockElement.getAttributeNode

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7762


getAttributeNodeNS()

getAttributeNodeNS(namespace, localName): null | Attr

MDN Reference

Parameters

namespace: null | string

localName: string

Returns

null | Attr

Inherited from

EmbedBlockElement.getAttributeNodeNS

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7764


getBoundingClientRect()

getBoundingClientRect(): DOMRect

MDN Reference

Returns

DOMRect

Inherited from

EmbedBlockElement.getBoundingClientRect

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7766


getClientRects()

getClientRects(): DOMRectList

MDN Reference

Returns

DOMRectList

Inherited from

EmbedBlockElement.getClientRects

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7768


getElementsByClassName()

getElementsByClassName(classNames): HTMLCollectionOf<Element>

Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.

MDN Reference

Parameters

classNames: string

Returns

HTMLCollectionOf<Element>

Inherited from

EmbedBlockElement.getElementsByClassName

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7774


getElementsByTagName()

getElementsByTagName(qualifiedName)

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<HTMLElementTagNameMap[K]>

MDN Reference

Type parameters

K extends keyof HTMLElementTagNameMap

Parameters

qualifiedName: K

Returns

HTMLCollectionOf<HTMLElementTagNameMap[K]>

Inherited from

EmbedBlockElement.getElementsByTagName

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7776

getElementsByTagName(qualifiedName)

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<SVGElementTagNameMap[K]>

Type parameters

K extends keyof SVGElementTagNameMap

Parameters

qualifiedName: K

Returns

HTMLCollectionOf<SVGElementTagNameMap[K]>

Inherited from

EmbedBlockElement.getElementsByTagName

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7777

getElementsByTagName(qualifiedName)

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<MathMLElementTagNameMap[K]>

Type parameters

K extends keyof MathMLElementTagNameMap

Parameters

qualifiedName: K

Returns

HTMLCollectionOf<MathMLElementTagNameMap[K]>

Inherited from

EmbedBlockElement.getElementsByTagName

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7778

getElementsByTagName(qualifiedName)

getElementsByTagName<K>(qualifiedName): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>

Type parameters

K extends keyof HTMLElementDeprecatedTagNameMap

Parameters

qualifiedName: K

Returns

HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>

Inherited from

EmbedBlockElement.getElementsByTagName

Deprecated
Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7780

getElementsByTagName(qualifiedName)

getElementsByTagName(qualifiedName): HTMLCollectionOf<Element>

Parameters

qualifiedName: string

Returns

HTMLCollectionOf<Element>

Inherited from

EmbedBlockElement.getElementsByTagName

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7781


getElementsByTagNameNS()

getElementsByTagNameNS(namespaceURI, localName)

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<HTMLElement>

MDN Reference

Parameters

namespaceURI: "http://www.w3.org/1999/xhtml"

localName: string

Returns

HTMLCollectionOf<HTMLElement>

Inherited from

EmbedBlockElement.getElementsByTagNameNS

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7783

getElementsByTagNameNS(namespaceURI, localName)

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<SVGElement>

Parameters

namespaceURI: "http://www.w3.org/2000/svg"

localName: string

Returns

HTMLCollectionOf<SVGElement>

Inherited from

EmbedBlockElement.getElementsByTagNameNS

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7784

getElementsByTagNameNS(namespaceURI, localName)

getElementsByTagNameNS(namespaceURI, localName): HTMLCollectionOf<MathMLElement>

Parameters

namespaceURI: "http://www.w3.org/1998/Math/MathML"

localName: string

Returns

HTMLCollectionOf<MathMLElement>

Inherited from

EmbedBlockElement.getElementsByTagNameNS

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7785

getElementsByTagNameNS(namespace, localName)

getElementsByTagNameNS(namespace, localName): HTMLCollectionOf<Element>

Parameters

namespace: null | string

localName: string

Returns

HTMLCollectionOf<Element>

Inherited from

EmbedBlockElement.getElementsByTagNameNS

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7786


getRootNode()

getRootNode(options?): Node

Returns node's root.

MDN Reference

Parameters

options?: GetRootNodeOptions

Returns

Node

Inherited from

EmbedBlockElement.getRootNode

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16280


getUpdateComplete()

protected getUpdateComplete(): Promise<boolean>

Returns

Promise<boolean>

Inherited from

EmbedBlockElement.getUpdateComplete

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:41


hasAttribute()

hasAttribute(qualifiedName): boolean

Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.

MDN Reference

Parameters

qualifiedName: string

Returns

boolean

Inherited from

EmbedBlockElement.hasAttribute

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7792


hasAttributeNS()

hasAttributeNS(namespace, localName): boolean

Returns true if element has an attribute whose namespace is namespace and local name is localName.

MDN Reference

Parameters

namespace: null | string

localName: string

Returns

boolean

Inherited from

EmbedBlockElement.hasAttributeNS

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7798


hasAttributes()

hasAttributes(): boolean

Returns true if element has attributes, and false otherwise.

MDN Reference

Returns

boolean

Inherited from

EmbedBlockElement.hasAttributes

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7804


hasChildNodes()

hasChildNodes(): boolean

Returns whether node has children.

MDN Reference

Returns

boolean

Inherited from

EmbedBlockElement.hasChildNodes

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16286


hasPointerCapture()

hasPointerCapture(pointerId): boolean

MDN Reference

Parameters

pointerId: number

Returns

boolean

Inherited from

EmbedBlockElement.hasPointerCapture

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7806


hidePopover()

hidePopover(): void

MDN Reference

Returns

void

Inherited from

EmbedBlockElement.hidePopover

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10143


insertAdjacentElement()

insertAdjacentElement(where, element): null | Element

MDN Reference

Parameters

where: InsertPosition

element: Element

Returns

null | Element

Inherited from

EmbedBlockElement.insertAdjacentElement

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7808


insertAdjacentHTML()

insertAdjacentHTML(position, text): void

MDN Reference

Parameters

position: InsertPosition

text: string

Returns

void

Inherited from

EmbedBlockElement.insertAdjacentHTML

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7810


insertAdjacentText()

insertAdjacentText(where, data): void

MDN Reference

Parameters

where: InsertPosition

data: string

Returns

void

Inherited from

EmbedBlockElement.insertAdjacentText

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7812


insertBefore()

insertBefore<T>(node, child): T

MDN Reference

Type parameters

T extends Node

Parameters

node: T

child: null | Node

Returns

T

Inherited from

EmbedBlockElement.insertBefore

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16288


isDefaultNamespace()

isDefaultNamespace(namespace): boolean

MDN Reference

Parameters

namespace: null | string

Returns

boolean

Inherited from

EmbedBlockElement.isDefaultNamespace

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16290


isEqualNode()

isEqualNode(otherNode): boolean

Returns whether node and otherNode have the same properties.

MDN Reference

Parameters

otherNode: null | Node

Returns

boolean

Inherited from

EmbedBlockElement.isEqualNode

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16296


isSameNode()

isSameNode(otherNode): boolean

MDN Reference

Parameters

otherNode: null | Node

Returns

boolean

Inherited from

EmbedBlockElement.isSameNode

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16298


lookupNamespaceURI()

lookupNamespaceURI(prefix): null | string

MDN Reference

Parameters

prefix: null | string

Returns

null | string

Inherited from

EmbedBlockElement.lookupNamespaceURI

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16300


lookupPrefix()

lookupPrefix(namespace): null | string

MDN Reference

Parameters

namespace: null | string

Returns

null | string

Inherited from

EmbedBlockElement.lookupPrefix

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16302


matches()

matches(selectors): boolean

Returns true if matching selectors against element's root yields element, and false otherwise.

MDN Reference

Parameters

selectors: string

Returns

boolean

Inherited from

EmbedBlockElement.matches

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7818


normalize()

normalize(): void

Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.

MDN Reference

Returns

void

Inherited from

EmbedBlockElement.normalize

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16308


open()

open(): void

Returns

void

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:73


prepend()

prepend(...nodes): void

Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

• ...nodes: (string | Node)[]

Returns

void

Inherited from

EmbedBlockElement.prepend

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16911


querySelector()

querySelector(selectors)

querySelector<K>(selectors): null | HTMLElementTagNameMap[K]

Returns the first element that is a descendant of node that matches selectors.

MDN Reference

Type parameters

K extends keyof HTMLElementTagNameMap

Parameters

selectors: K

Returns

null | HTMLElementTagNameMap[K]

Inherited from

EmbedBlockElement.querySelector

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16917

querySelector(selectors)

querySelector<K>(selectors): null | SVGElementTagNameMap[K]

Type parameters

K extends keyof SVGElementTagNameMap

Parameters

selectors: K

Returns

null | SVGElementTagNameMap[K]

Inherited from

EmbedBlockElement.querySelector

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16918

querySelector(selectors)

querySelector<K>(selectors): null | MathMLElementTagNameMap[K]

Type parameters

K extends keyof MathMLElementTagNameMap

Parameters

selectors: K

Returns

null | MathMLElementTagNameMap[K]

Inherited from

EmbedBlockElement.querySelector

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16919

querySelector(selectors)

querySelector<K>(selectors): null | HTMLElementDeprecatedTagNameMap[K]

Type parameters

K extends keyof HTMLElementDeprecatedTagNameMap

Parameters

selectors: K

Returns

null | HTMLElementDeprecatedTagNameMap[K]

Inherited from

EmbedBlockElement.querySelector

Deprecated
Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16921

querySelector(selectors)

querySelector<E>(selectors): null | E

Type parameters

E extends Element = Element

Parameters

selectors: string

Returns

null | E

Inherited from

EmbedBlockElement.querySelector

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16922


querySelectorAll()

querySelectorAll(selectors)

querySelectorAll<K>(selectors): NodeListOf<HTMLElementTagNameMap[K]>

Returns all element descendants of node that match selectors.

MDN Reference

Type parameters

K extends keyof HTMLElementTagNameMap

Parameters

selectors: K

Returns

NodeListOf<HTMLElementTagNameMap[K]>

Inherited from

EmbedBlockElement.querySelectorAll

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16928

querySelectorAll(selectors)

querySelectorAll<K>(selectors): NodeListOf<SVGElementTagNameMap[K]>

Type parameters

K extends keyof SVGElementTagNameMap

Parameters

selectors: K

Returns

NodeListOf<SVGElementTagNameMap[K]>

Inherited from

EmbedBlockElement.querySelectorAll

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16929

querySelectorAll(selectors)

querySelectorAll<K>(selectors): NodeListOf<MathMLElementTagNameMap[K]>

Type parameters

K extends keyof MathMLElementTagNameMap

Parameters

selectors: K

Returns

NodeListOf<MathMLElementTagNameMap[K]>

Inherited from

EmbedBlockElement.querySelectorAll

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16930

querySelectorAll(selectors)

querySelectorAll<K>(selectors): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>

Type parameters

K extends keyof HTMLElementDeprecatedTagNameMap

Parameters

selectors: K

Returns

NodeListOf<HTMLElementDeprecatedTagNameMap[K]>

Inherited from

EmbedBlockElement.querySelectorAll

Deprecated
Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16932

querySelectorAll(selectors)

querySelectorAll<E>(selectors): NodeListOf<E>

Type parameters

E extends Element = Element

Parameters

selectors: string

Returns

NodeListOf<E>

Inherited from

EmbedBlockElement.querySelectorAll

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16933


refreshData()

refreshData(): void

Returns

void

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:81


refreshStatus()

refreshStatus(): void

Returns

void

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:85


releasePointerCapture()

releasePointerCapture(pointerId): void

MDN Reference

Parameters

pointerId: number

Returns

void

Inherited from

EmbedBlockElement.releasePointerCapture

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7820


remove()

remove(): void

Removes node.

MDN Reference

Returns

void

Inherited from

EmbedBlockElement.remove

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:5655


removeAttribute()

removeAttribute(qualifiedName): void

Removes element's first attribute whose qualified name is qualifiedName.

MDN Reference

Parameters

qualifiedName: string

Returns

void

Inherited from

EmbedBlockElement.removeAttribute

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7826


removeAttributeNS()

removeAttributeNS(namespace, localName): void

Removes element's attribute whose namespace is namespace and local name is localName.

MDN Reference

Parameters

namespace: null | string

localName: string

Returns

void

Inherited from

EmbedBlockElement.removeAttributeNS

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7832


removeAttributeNode()

removeAttributeNode(attr): Attr

MDN Reference

Parameters

attr: Attr

Returns

Attr

Inherited from

EmbedBlockElement.removeAttributeNode

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7834


removeChild()

removeChild<T>(child): T

MDN Reference

Type parameters

T extends Node

Parameters

child: T

Returns

T

Inherited from

EmbedBlockElement.removeChild

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16310


removeEventListener()

removeEventListener(type, listener, options)

removeEventListener<K>(type, listener, options?): void

Type parameters

K extends keyof HTMLElementEventMap

Parameters

type: K

listener

options?: boolean | EventListenerOptions

Returns

void

Inherited from

EmbedBlockElement.removeEventListener

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10150

removeEventListener(type, listener, options)

removeEventListener(type, listener, options?): void

Parameters

type: string

listener: EventListenerOrEventListenerObject

options?: boolean | EventListenerOptions

Returns

void

Inherited from

EmbedBlockElement.removeEventListener

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10151


render()

render(): unknown

Returns

unknown

Inherited from

EmbedBlockElement.render

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:47


renderBlock()

renderBlock(): TemplateResult<1>

Returns

TemplateResult<1>

Overrides

EmbedBlockElement.renderBlock

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:181


renderEmbed()

renderEmbed(children): TemplateResult<1>

Parameters

children

Returns

TemplateResult<1>

Inherited from

EmbedBlockElement.renderEmbed

Source

packages/blocks/src/_common/embed-block-helper/embed-block-element.ts:166


renderVersionMismatch()

renderVersionMismatch(expectedVersion, actualVersion): TemplateResult

Parameters

expectedVersion: number

actualVersion: number

Returns

TemplateResult

Inherited from

EmbedBlockElement.renderVersionMismatch

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:46


replaceChild()

replaceChild<T>(node, child): T

MDN Reference

Type parameters

T extends Node

Parameters

node: Node

child: T

Returns

T

Inherited from

EmbedBlockElement.replaceChild

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16312


replaceChildren()

replaceChildren(...nodes): void

Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

• ...nodes: (string | Node)[]

Returns

void

Inherited from

EmbedBlockElement.replaceChildren

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:16941


replaceWith()

replaceWith(...nodes): void

Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.

Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

• ...nodes: (string | Node)[]

Returns

void

Inherited from

EmbedBlockElement.replaceWith

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:5663


requestFullscreen()

requestFullscreen(options?): Promise<void>

Displays element fullscreen and resolves promise when done.

When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference.

MDN Reference

Parameters

options?: FullscreenOptions

Returns

Promise<void>

Inherited from

EmbedBlockElement.requestFullscreen

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7842


requestPointerLock()

requestPointerLock(): void

MDN Reference

Returns

void

Inherited from

EmbedBlockElement.requestPointerLock

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7844


scroll()

scroll(options)

scroll(options?): void

MDN Reference

Parameters

options?: ScrollToOptions

Returns

void

Inherited from

EmbedBlockElement.scroll

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7846

scroll(x, y)

scroll(x, y): void

Parameters

x: number

y: number

Returns

void

Inherited from

EmbedBlockElement.scroll

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7847


scrollBy()

scrollBy(options)

scrollBy(options?): void

MDN Reference

Parameters

options?: ScrollToOptions

Returns

void

Inherited from

EmbedBlockElement.scrollBy

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7849

scrollBy(x, y)

scrollBy(x, y): void

Parameters

x: number

y: number

Returns

void

Inherited from

EmbedBlockElement.scrollBy

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7850


scrollIntoView()

scrollIntoView(arg?): void

MDN Reference

Parameters

arg?: boolean | ScrollIntoViewOptions

Returns

void

Inherited from

EmbedBlockElement.scrollIntoView

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7852


scrollTo()

scrollTo(options)

scrollTo(options?): void

MDN Reference

Parameters

options?: ScrollToOptions

Returns

void

Inherited from

EmbedBlockElement.scrollTo

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7854

scrollTo(x, y)

scrollTo(x, y): void

Parameters

x: number

y: number

Returns

void

Inherited from

EmbedBlockElement.scrollTo

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7855


setAttribute()

setAttribute(qualifiedName, value): void

Sets the value of element's first attribute whose qualified name is qualifiedName to value.

MDN Reference

Parameters

qualifiedName: string

value: string

Returns

void

Inherited from

EmbedBlockElement.setAttribute

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7861


setAttributeNS()

setAttributeNS(namespace, qualifiedName, value): void

Sets the value of element's attribute whose namespace is namespace and local name is localName to value.

MDN Reference

Parameters

namespace: null | string

qualifiedName: string

value: string

Returns

void

Inherited from

EmbedBlockElement.setAttributeNS

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7867


setAttributeNode()

setAttributeNode(attr): null | Attr

MDN Reference

Parameters

attr: Attr

Returns

null | Attr

Inherited from

EmbedBlockElement.setAttributeNode

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7869


setAttributeNodeNS()

setAttributeNodeNS(attr): null | Attr

MDN Reference

Parameters

attr: Attr

Returns

null | Attr

Inherited from

EmbedBlockElement.setAttributeNodeNS

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7871


setPointerCapture()

setPointerCapture(pointerId): void

MDN Reference

Parameters

pointerId: number

Returns

void

Inherited from

EmbedBlockElement.setPointerCapture

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7873


showPopover()

showPopover(): void

MDN Reference

Returns

void

Inherited from

EmbedBlockElement.showPopover

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10145


toggleAttribute()

toggleAttribute(qualifiedName, force?): boolean

If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.

Returns true if qualifiedName is now present, and false otherwise.

MDN Reference

Parameters

qualifiedName: string

force?: boolean

Returns

boolean

Inherited from

EmbedBlockElement.toggleAttribute

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7881


togglePopover()

togglePopover(force?): boolean

MDN Reference

Parameters

force?: boolean

Returns

boolean

Inherited from

EmbedBlockElement.togglePopover

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:10147


update()

protected update(changedProperties): void

Parameters

changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>

Returns

void

Inherited from

EmbedBlockElement.update

Source

packages/framework/block-std/dist/view/element/block-element.d.ts:42


webkitMatchesSelector()

webkitMatchesSelector(selectors): boolean

Parameters

selectors: string

Returns

boolean

Inherited from

EmbedBlockElement.webkitMatchesSelector

Deprecated

This is a legacy alias of matches.

MDN Reference

Source

node_modules/.pnpm/typescript@5.4.2/node_modules/typescript/lib/lib.dom.d.ts:7887


addInitializer()

static addInitializer(initializer): void

Adds an initializer function to the class that is called during instance construction.

This is useful for code that runs against a ReactiveElement subclass, such as a decorator, that needs to do work for each instance, such as setting up a ReactiveController.

ts
const myDecorator = (target: typeof ReactiveElement, key: string) => {
  target.addInitializer((instance: ReactiveElement) => {
    // This is run during construction of the element
    new MyController(instance);
  });
}

Decorating a field will then cause each instance to run an initializer that adds a controller:

ts
class MyElement extends LitElement {
  @myDecorator foo;
}

Initializers are stored per-constructor. Adding an initializer to a subclass does not add it to a superclass. Since initializers are run in constructors, initializers will run in order of the class hierarchy, starting with superclasses and progressing to the instance's class.

Parameters

initializer: Initializer

Returns

void

Inherited from

EmbedBlockElement.addInitializer

Nocollapse

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:257


finalize()

protected static finalize(): void

Finishes setting up the class so that it's ready to be registered as a custom element and instantiated.

This method is called by the ReactiveElement.observedAttributes getter. If you override the observedAttributes getter, you must either call super.observedAttributes to trigger finalization, or call finalize() yourself.

Returns

void

Inherited from

EmbedBlockElement.finalize

Nocollapse

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:441


finalizeStyles()

protected static finalizeStyles(styles?): CSSResultOrNative[]

Parameters

styles?: CSSResultGroup

Returns

CSSResultOrNative[]

Inherited from

EmbedBlockElement.finalizeStyles

Source

packages/framework/block-std/dist/view/element/shadowless-element.d.ts:5

attributes

observedAttributes

get static observedAttributes(): string[]

Returns a list of attributes corresponding to the registered properties.

Nocollapse

Returns

string[]

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:346


attributeChangedCallback()

attributeChangedCallback(name, _old, value): void

Synchronizes property values when attributes change.

Specifically, when an attribute is set, the corresponding property is set. You should rarely need to implement this callback. If this method is overridden, super.attributeChangedCallback(name, _old, value) must be called.

See using the lifecycle callbacks on MDN for more information about the attributeChangedCallback.

Parameters

name: string

_old: null | string

value: null | string

Returns

void

Inherited from

EmbedBlockElement.attributeChangedCallback

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:580

controllers

addController()

addController(controller): void

Registers a ReactiveController to participate in the element's reactive update cycle. The element automatically calls into any registered controllers during its lifecycle callbacks.

If the element is connected when addController() is called, the controller's hostConnected() callback will be immediately called.

Parameters

controller: ReactiveController

Returns

void

Inherited from

EmbedBlockElement.addController

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:519


removeController()

removeController(controller): void

Removes a ReactiveController from the element.

Parameters

controller: ReactiveController

Returns

void

Inherited from

EmbedBlockElement.removeController

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:524

dev-mode

disableWarning?

static optional disableWarning: (warningKind) => void

Disable the given warning category for this class.

This method only exists in development builds, so it should be accessed with a guard like:

ts
// Disable for all ReactiveElement subclasses
ReactiveElement.disableWarning?.('migration');

// Disable for only MyElement and subclasses
MyElement.disableWarning?.('migration');

Nocollapse

Parameters

warningKind: WarningKind

Returns

void

Inherited from

EmbedBlockElement.disableWarning

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:223


enableWarning?

static optional enableWarning: (warningKind) => void

Enable the given warning category for this class.

This method only exists in development builds, so it should be accessed with a guard like:

ts
// Enable for all ReactiveElement subclasses
ReactiveElement.enableWarning?.('migration');

// Enable for only MyElement and subclasses
MyElement.enableWarning?.('migration');

Nocollapse

Parameters

warningKind: WarningKind

Returns

void

Inherited from

EmbedBlockElement.enableWarning

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:205


enabledWarnings?

static optional enabledWarnings: WarningKind[]

Read or set all the enabled warning categories for this class.

This property is only used in development builds.

Nocollapse

Inherited from

EmbedBlockElement.enabledWarnings

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:187

properties

elementProperties

static elementProperties: PropertyDeclarationMap

Memoized list of all element properties, including any superclass properties. Created lazily on user subclasses when finalizing the class.

Nocollapse

Inherited from

EmbedBlockElement.elementProperties

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:280


properties

static properties: PropertyDeclarations

User-supplied object that maps property names to PropertyDeclaration objects containing options for configuring reactive properties. When a reactive property is set the element will update and render.

By default properties are public fields, and as such, they should be considered as primarily settable by element users, either via attribute or the property itself.

Generally, properties that are changed by the element should be private or protected fields and should use the state: true option. Properties marked as state do not reflect from the corresponding attribute

However, sometimes element code does need to set a public property. This should typically only be done in response to user interaction, and an event should be fired informing the user; for example, a checkbox sets its checked property when clicked and fires a changed event. Mutating public properties should typically not be done for non-primitive (object or array) properties. In other cases when an element needs to manage state, a private property set with the state: true option should be used. When needed, state properties can be initialized via public properties to facilitate complex interactions.

Nocollapse

Inherited from

EmbedBlockElement.properties

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:306


createProperty()

static createProperty(name, options?): void

Creates a property accessor on the element prototype if one does not exist and stores a PropertyDeclaration for the property with the given options. The property setter calls the property's hasChanged property option or uses a strict identity check to determine whether or not to request an update.

This method may be overridden to customize properties; however, when doing so, it's important to call super.createProperty to ensure the property is setup correctly. This method calls getPropertyDescriptor internally to get a descriptor to install. To customize what properties do when they are get or set, override getPropertyDescriptor. To customize the options for a property, implement createProperty like this:

ts
static createProperty(name, options) {
  options = Object.assign(options, {myOption: true});
  super.createProperty(name, options);
}

Parameters

name: PropertyKey

options?: PropertyDeclaration<unknown, unknown>

Returns

void

Inherited from

EmbedBlockElement.createProperty

Nocollapse

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:373


getPropertyDescriptor()

protected static getPropertyDescriptor(name, key, options): undefined | PropertyDescriptor

Returns a property descriptor to be defined on the given named property. If no descriptor is returned, the property will not become an accessor. For example,

ts
class MyElement extends LitElement {
  static getPropertyDescriptor(name, key, options) {
    const defaultDescriptor =
        super.getPropertyDescriptor(name, key, options);
    const setter = defaultDescriptor.set;
    return {
      get: defaultDescriptor.get,
      set(value) {
        setter.call(this, value);
        // custom action.
      },
      configurable: true,
      enumerable: true
    }
  }
}

Parameters

name: PropertyKey

key: string | symbol

options: PropertyDeclaration<unknown, unknown>

Returns

undefined | PropertyDescriptor

Inherited from

EmbedBlockElement.getPropertyDescriptor

Nocollapse

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:401


getPropertyOptions()

static getPropertyOptions(name): PropertyDeclaration<unknown, unknown>

Returns the property options associated with the given property. These options are defined with a PropertyDeclaration via the properties object or the @property decorator and are registered in createProperty(...).

Note, this method should be considered "final" and not overridden. To customize the options for a given property, override createProperty.

Parameters

name: PropertyKey

Returns

PropertyDeclaration<unknown, unknown>

Inherited from

EmbedBlockElement.getPropertyOptions

Nocollapse

Final

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:416

rendering

renderOptions

readonly renderOptions: RenderOptions

Inherited from

EmbedBlockElement.renderOptions

Source

node_modules/.pnpm/lit-element@4.0.4/node_modules/lit-element/development/lit-element.d.ts:88


renderRoot

readonly renderRoot: HTMLElement | DocumentFragment

Node or ShadowRoot into which element DOM should be rendered. Defaults to an open shadowRoot.

Inherited from

EmbedBlockElement.renderRoot

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:473


shadowRootOptions

static shadowRootOptions: ShadowRootInit

Options used when calling attachShadow. Set this property to customize the options for the shadowRoot; for example, to create a closed shadowRoot: {mode: 'closed'}.

Note, these options are used in createRenderRoot. If this method is customized, options should be respected if possible.

Nocollapse

Inherited from

EmbedBlockElement.shadowRootOptions

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:452

styles

elementStyles

static elementStyles: CSSResultOrNative[]

Memoized list of all element styles. Created lazily on user subclasses when finalizing the class.

Nocollapse

Inherited from

EmbedBlockElement.elementStyles

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:313


styles

static styles: CSSResult = styles

Array of styles to apply to the element. The styles should be defined using the css tag function, via constructible stylesheets, or imported from native CSS module scripts.

Note on Content Security Policy:

Element styles are implemented with <style> tags when the browser doesn't support adopted StyleSheets. To use such <style> tags with the style-src CSP directive, the style-src value must either include 'unsafe-inline' or nonce-<base64-value> with <base64-value> replaced be a server-generated nonce.

To provide a nonce to use on generated <style> elements, set window.litNonce to a server-generated nonce in your page's HTML, before loading application code:

html
<script>
  // Generated and unique per request:
  window.litNonce = 'a1b2c3d4';
</script>

Nocollapse

Overrides

EmbedBlockElement.styles

Source

packages/blocks/src/embed-github-block/embed-github-block.ts:35

updates

hasUpdated

hasUpdated: boolean

Is set to true after the first update. The element code cannot assume that renderRoot exists before the element hasUpdated.

Inherited from

EmbedBlockElement.hasUpdated

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:491


isUpdatePending

isUpdatePending: boolean

True if there is a pending update as a result of calling requestUpdate(). Should only be read.

Inherited from

EmbedBlockElement.isUpdatePending

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:485


updateComplete

get updateComplete(): Promise<boolean>

Returns a Promise that resolves when the element has completed updating. The Promise value is a boolean that is true if the element completed the update without triggering another update. The Promise result is false if a property was set inside updated(). If the Promise is rejected, an exception was thrown during the update.

To await additional asynchronous work, override the getUpdateComplete method. For example, it is sometimes useful to await a rendered element before fulfilling this Promise. To do this, first await super.getUpdateComplete(), then any subsequent state.

Returns

Promise<boolean>

A promise of a boolean that resolves to true if the update completed without triggering another update.

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:669


enableUpdating()

protected enableUpdating(_requestedUpdate): void

Note, this method should be considered final and not overridden. It is overridden on the element instance with a function that triggers the first update.

Parameters

_requestedUpdate: boolean

Returns

void

Inherited from

EmbedBlockElement.enableUpdating

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:560


firstUpdated()

protected firstUpdated(_changedProperties): void

Invoked when the element is first updated. Implement to perform one time work on the element after update.

ts
firstUpdated() {
  this.renderRoot.getElementById('my-text-area').focus();
}

Setting properties inside this method will trigger the element to update again after this update cycle completes.

Parameters

_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>

Map of changed properties with old values

Returns

void

Inherited from

EmbedBlockElement.firstUpdated

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:740


performUpdate()

protected performUpdate(): void

Performs an element update. Note, if an exception is thrown during the update, firstUpdated and updated will not be called.

Call performUpdate() to immediately process a pending update. This should generally not be needed, but it can be done in rare cases when you need to update synchronously.

Returns

void

Inherited from

EmbedBlockElement.performUpdate

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:629


requestUpdate()

requestUpdate(name?, oldValue?, options?): void

Requests an update which is processed asynchronously. This should be called when an element should update based on some state not triggered by setting a reactive property. In this case, pass no arguments. It should also be called when manually implementing a property setter. In this case, pass the property name and oldValue to ensure that any configured property options are honored.

Parameters

name?: PropertyKey

name of requesting property

oldValue?: unknown

old value of requesting property

options?: PropertyDeclaration<unknown, unknown>

property options to use instead of the previously configured options

Returns

void

Inherited from

EmbedBlockElement.requestUpdate

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:596


scheduleUpdate()

protected scheduleUpdate(): void | Promise<unknown>

Schedules an element update. You can override this method to change the timing of updates by returning a Promise. The update will await the returned Promise, and you should resolve the Promise to allow the update to proceed. If this method is overridden, super.scheduleUpdate() must be called.

For instance, to schedule updates to occur just before the next frame:

ts
override protected async scheduleUpdate(): Promise<unknown> {
  await new Promise((resolve) => requestAnimationFrame(() => resolve()));
  super.scheduleUpdate();
}

Returns

void | Promise<unknown>

Inherited from

EmbedBlockElement.scheduleUpdate

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:618


shouldUpdate()

protected shouldUpdate(_changedProperties): boolean

Controls whether or not update() should be called when the element requests an update. By default, this method always returns true, but this can be customized to control when to update.

Parameters

_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>

Map of changed properties with old values

Returns

boolean

Inherited from

EmbedBlockElement.shouldUpdate

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:702


updated()

protected updated(_changedProperties): void

Invoked whenever the element is updated. Implement to perform post-updating tasks via DOM APIs, for example, focusing an element.

Setting properties inside this method will trigger the element to update again after this update cycle completes.

Parameters

_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>

Map of changed properties with old values

Returns

void

Inherited from

EmbedBlockElement.updated

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:723


willUpdate()

protected willUpdate(_changedProperties): void

Invoked before update() to compute values needed during the update.

Implement willUpdate to compute property values that depend on other properties and are used in the rest of the update process.

ts
willUpdate(changedProperties) {
  // only need to check changed properties for an expensive computation.
  if (changedProperties.has('firstName') || changedProperties.has('lastName')) {
    this.sha = computeSHA(`${this.firstName} ${this.lastName}`);
  }
}

render() {
  return html`SHA: ${this.sha}`;
}

Parameters

_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>

Returns

void

Inherited from

EmbedBlockElement.willUpdate

Source

node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/development/reactive-element.d.ts:651