MCPcopy Create free account
hub / github.com/JavaCS3/xterm-player / $span

Function $span

src/ui/DomHelper.ts:34–36  ·  view source on GitHub ↗
(opts?: IHTMLElementOption, ...children: HTMLElement[])

Source from the content-addressed store, hash-verified

32}
33
34export function $span(opts?: IHTMLElementOption, ...children: HTMLElement[]): HTMLElement {
35 return createElement('span', opts, ...children)
36}
37
38/**
39 * Adds a disposable listener to a node in the DOM, returning the disposable.

Callers 1

constructorMethod · 0.90

Calls 1

createElementFunction · 0.85

Tested by

no test coverage detected