-
Notifications
You must be signed in to change notification settings - Fork 0
@ralphschuler.webgl shader factory.<internal>.DocumentFragment
@ralphschuler/webgl-shader-factory.<internal>.DocumentFragment
A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made.
-
↳
DocumentFragment
- ATTRIBUTE_NODE
- CDATA_SECTION_NODE
- COMMENT_NODE
- DOCUMENT_FRAGMENT_NODE
- DOCUMENT_NODE
- DOCUMENT_POSITION_CONTAINED_BY
- DOCUMENT_POSITION_CONTAINS
- DOCUMENT_POSITION_DISCONNECTED
- DOCUMENT_POSITION_FOLLOWING
- DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
- DOCUMENT_POSITION_PRECEDING
- DOCUMENT_TYPE_NODE
- ELEMENT_NODE
- ENTITY_NODE
- ENTITY_REFERENCE_NODE
- NOTATION_NODE
- PROCESSING_INSTRUCTION_NODE
- TEXT_NODE
- baseURI
- childElementCount
- childNodes
- children
- firstChild
- firstElementChild
- isConnected
- lastChild
- lastElementChild
- nextSibling
- nodeName
- nodeType
- nodeValue
- ownerDocument
- parentElement
- parentNode
- previousSibling
- textContent
- addEventListener
- append
- appendChild
- cloneNode
- compareDocumentPosition
- contains
- dispatchEvent
- getElementById
- getRootNode
- hasChildNodes
- insertBefore
- isDefaultNamespace
- isEqualNode
- isSameNode
- lookupNamespaceURI
- lookupPrefix
- normalize
- prepend
- querySelector
- querySelectorAll
- removeChild
- removeEventListener
- replaceChild
- replaceChildren
• Readonly
ATTRIBUTE_NODE: 2
node_modules/typescript/lib/lib.dom.d.ts:16205
• Readonly
CDATA_SECTION_NODE: 4
node is a CDATASection node.
node_modules/typescript/lib/lib.dom.d.ts:16209
• Readonly
COMMENT_NODE: 8
node is a Comment node.
node_modules/typescript/lib/lib.dom.d.ts:16215
• Readonly
DOCUMENT_FRAGMENT_NODE: 11
node is a DocumentFragment node.
ParentNode.DOCUMENT_FRAGMENT_NODE
node_modules/typescript/lib/lib.dom.d.ts:16221
• Readonly
DOCUMENT_NODE: 9
node is a document.
node_modules/typescript/lib/lib.dom.d.ts:16217
• Readonly
DOCUMENT_POSITION_CONTAINED_BY: 16
Set when other is a descendant of node.
ParentNode.DOCUMENT_POSITION_CONTAINED_BY
node_modules/typescript/lib/lib.dom.d.ts:16232
• Readonly
DOCUMENT_POSITION_CONTAINS: 8
Set when other is an ancestor of node.
ParentNode.DOCUMENT_POSITION_CONTAINS
node_modules/typescript/lib/lib.dom.d.ts:16230
• Readonly
DOCUMENT_POSITION_DISCONNECTED: 1
Set when node and other are not in the same tree.
ParentNode.DOCUMENT_POSITION_DISCONNECTED
node_modules/typescript/lib/lib.dom.d.ts:16224
• Readonly
DOCUMENT_POSITION_FOLLOWING: 4
Set when other is following node.
ParentNode.DOCUMENT_POSITION_FOLLOWING
node_modules/typescript/lib/lib.dom.d.ts:16228
• Readonly
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32
ParentNode.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
node_modules/typescript/lib/lib.dom.d.ts:16233
• Readonly
DOCUMENT_POSITION_PRECEDING: 2
Set when other is preceding node.
ParentNode.DOCUMENT_POSITION_PRECEDING
node_modules/typescript/lib/lib.dom.d.ts:16226
• Readonly
DOCUMENT_TYPE_NODE: 10
node is a doctype.
node_modules/typescript/lib/lib.dom.d.ts:16219
• Readonly
ELEMENT_NODE: 1
node is an element.
node_modules/typescript/lib/lib.dom.d.ts:16204
• Readonly
ENTITY_NODE: 6
node_modules/typescript/lib/lib.dom.d.ts:16211
• Readonly
ENTITY_REFERENCE_NODE: 5
ParentNode.ENTITY_REFERENCE_NODE
node_modules/typescript/lib/lib.dom.d.ts:16210
• Readonly
NOTATION_NODE: 12
node_modules/typescript/lib/lib.dom.d.ts:16222
• Readonly
PROCESSING_INSTRUCTION_NODE: 7
node is a ProcessingInstruction node.
ParentNode.PROCESSING_INSTRUCTION_NODE
node_modules/typescript/lib/lib.dom.d.ts:16213
• Readonly
TEXT_NODE: 3
node is a Text node.
node_modules/typescript/lib/lib.dom.d.ts:16207
• Readonly
baseURI: string
Returns node's node document's document base URL.
node_modules/typescript/lib/lib.dom.d.ts:16074
• Readonly
childElementCount: number
node_modules/typescript/lib/lib.dom.d.ts:16763
• Readonly
childNodes: NodeListOf
<ChildNode
>
Returns the children.
node_modules/typescript/lib/lib.dom.d.ts:16080
• Readonly
children: HTMLCollection
Returns the child elements.
node_modules/typescript/lib/lib.dom.d.ts:16769
• Readonly
firstChild: null
| ChildNode
Returns the first child.
node_modules/typescript/lib/lib.dom.d.ts:16086
• Readonly
firstElementChild: null
| Element
Returns the first child that is an element, and null otherwise.
node_modules/typescript/lib/lib.dom.d.ts:16775
• Readonly
isConnected: boolean
Returns true if node is connected and false otherwise.
node_modules/typescript/lib/lib.dom.d.ts:16092
• Readonly
lastChild: null
| ChildNode
Returns the last child.
node_modules/typescript/lib/lib.dom.d.ts:16098
• Readonly
lastElementChild: null
| Element
Returns the last child that is an element, and null otherwise.
node_modules/typescript/lib/lib.dom.d.ts:16781
• Readonly
nextSibling: null
| ChildNode
Returns the next sibling.
node_modules/typescript/lib/lib.dom.d.ts:16104
• Readonly
nodeName: string
Returns a string appropriate for the type of node.
node_modules/typescript/lib/lib.dom.d.ts:16110
• Readonly
nodeType: number
Returns the type of node.
node_modules/typescript/lib/lib.dom.d.ts:16116
• nodeValue: null
| string
node_modules/typescript/lib/lib.dom.d.ts:16118
• Readonly
ownerDocument: Document
Returns the node document. Returns null for documents.
node_modules/typescript/lib/lib.dom.d.ts:7386
• Readonly
parentElement: null
| HTMLElement
Returns the parent element.
node_modules/typescript/lib/lib.dom.d.ts:16130
• Readonly
parentNode: null
| ParentNode
Returns the parent.
node_modules/typescript/lib/lib.dom.d.ts:16136
• Readonly
previousSibling: null
| ChildNode
Returns the previous sibling.
node_modules/typescript/lib/lib.dom.d.ts:16142
• textContent: null
| string
node_modules/typescript/lib/lib.dom.d.ts:16144
▸ addEventListener(type
, callback
, options?
): void
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
Name | Type |
---|---|
type |
string |
callback |
null | EventListenerOrEventListenerObject
|
options? |
boolean | AddEventListenerOptions
|
void
node_modules/typescript/lib/lib.dom.d.ts:8211
▸ 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.
Name | Type |
---|---|
...nodes |
(string | Node )[] |
void
node_modules/typescript/lib/lib.dom.d.ts:16789
▸ appendChild<T
>(node
): T
Name | Type |
---|---|
T |
extends Node
|
Name | Type |
---|---|
node |
T |
T
node_modules/typescript/lib/lib.dom.d.ts:16146
▸ cloneNode(deep?
): Node
Returns a copy of node. If deep is true, the copy also includes the node's descendants.
Name | Type |
---|---|
deep? |
boolean |
node_modules/typescript/lib/lib.dom.d.ts:16152
▸ compareDocumentPosition(other
): number
Returns a bitmask indicating the position of other relative to node.
Name | Type |
---|---|
other |
Node |
number
ParentNode.compareDocumentPosition
node_modules/typescript/lib/lib.dom.d.ts:16158
▸ contains(other
): boolean
Returns true if other is an inclusive descendant of node, and false otherwise.
Name | Type |
---|---|
other |
null | Node
|
boolean
node_modules/typescript/lib/lib.dom.d.ts:16164
▸ 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.
Name | Type |
---|---|
event |
Event |
boolean
node_modules/typescript/lib/lib.dom.d.ts:8217
▸ getElementById(elementId
): null
| HTMLElement
Returns the first element within node's descendants whose ID is elementId.
Name | Type |
---|---|
elementId |
string |
null
| HTMLElement
NonElementParentNode.getElementById
node_modules/typescript/lib/lib.dom.d.ts:7387
▸ getRootNode(options?
): Node
Returns node's root.
Name | Type |
---|---|
options? |
GetRootNodeOptions |
node_modules/typescript/lib/lib.dom.d.ts:16170
▸ hasChildNodes(): boolean
Returns whether node has children.
boolean
node_modules/typescript/lib/lib.dom.d.ts:16176
▸ insertBefore<T
>(node
, child
): T
Name | Type |
---|---|
T |
extends Node
|
Name | Type |
---|---|
node |
T |
child |
null | Node
|
T
node_modules/typescript/lib/lib.dom.d.ts:16178
▸ isDefaultNamespace(namespace
): boolean
Name | Type |
---|---|
namespace |
null | string
|
boolean
node_modules/typescript/lib/lib.dom.d.ts:16180
▸ isEqualNode(otherNode
): boolean
Returns whether node and otherNode have the same properties.
Name | Type |
---|---|
otherNode |
null | Node
|
boolean
node_modules/typescript/lib/lib.dom.d.ts:16186
▸ isSameNode(otherNode
): boolean
Name | Type |
---|---|
otherNode |
null | Node
|
boolean
node_modules/typescript/lib/lib.dom.d.ts:16188
▸ lookupNamespaceURI(prefix
): null
| string
Name | Type |
---|---|
prefix |
null | string
|
null
| string
node_modules/typescript/lib/lib.dom.d.ts:16190
▸ lookupPrefix(namespace
): null
| string
Name | Type |
---|---|
namespace |
null | string
|
null
| string
node_modules/typescript/lib/lib.dom.d.ts:16192
▸ normalize(): void
Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
void
node_modules/typescript/lib/lib.dom.d.ts:16198
▸ 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.
Name | Type |
---|---|
...nodes |
(string | Node )[] |
void
node_modules/typescript/lib/lib.dom.d.ts:16797
▸ querySelector<K
>(selectors
): null
| HTMLElementTagNameMap
[K
]
Returns the first element that is a descendant of node that matches selectors.
Name | Type |
---|---|
K |
extends keyof HTMLElementTagNameMap
|
Name | Type |
---|---|
selectors |
K |
null
| HTMLElementTagNameMap
[K
]
node_modules/typescript/lib/lib.dom.d.ts:16803
▸ querySelector<K
>(selectors
): null
| SVGElementTagNameMap
[K
]
Name | Type |
---|---|
K |
extends keyof SVGElementTagNameMap
|
Name | Type |
---|---|
selectors |
K |
null
| SVGElementTagNameMap
[K
]
node_modules/typescript/lib/lib.dom.d.ts:16804
▸ querySelector<K
>(selectors
): null
| MathMLElementTagNameMap
[K
]
Name | Type |
---|---|
K |
extends keyof MathMLElementTagNameMap
|
Name | Type |
---|---|
selectors |
K |
null
| MathMLElementTagNameMap
[K
]
node_modules/typescript/lib/lib.dom.d.ts:16805
▸ querySelector<K
>(selectors
): null
| HTMLElementDeprecatedTagNameMap
[K
]
Name | Type |
---|---|
K |
extends keyof HTMLElementDeprecatedTagNameMap
|
Name | Type |
---|---|
selectors |
K |
null
| HTMLElementDeprecatedTagNameMap
[K
]
Deprecated
node_modules/typescript/lib/lib.dom.d.ts:16807
▸ querySelector<E
>(selectors
): null
| E
Name | Type |
---|---|
E |
extends Element = Element
|
Name | Type |
---|---|
selectors |
string |
null
| E
node_modules/typescript/lib/lib.dom.d.ts:16808
▸ querySelectorAll<K
>(selectors
): NodeListOf
<HTMLElementTagNameMap
[K
]>
Returns all element descendants of node that match selectors.
Name | Type |
---|---|
K |
extends keyof HTMLElementTagNameMap
|
Name | Type |
---|---|
selectors |
K |
NodeListOf
<HTMLElementTagNameMap
[K
]>
node_modules/typescript/lib/lib.dom.d.ts:16814
▸ querySelectorAll<K
>(selectors
): NodeListOf
<SVGElementTagNameMap
[K
]>
Name | Type |
---|---|
K |
extends keyof SVGElementTagNameMap
|
Name | Type |
---|---|
selectors |
K |
NodeListOf
<SVGElementTagNameMap
[K
]>
node_modules/typescript/lib/lib.dom.d.ts:16815
▸ querySelectorAll<K
>(selectors
): NodeListOf
<MathMLElementTagNameMap
[K
]>
Name | Type |
---|---|
K |
extends keyof MathMLElementTagNameMap
|
Name | Type |
---|---|
selectors |
K |
NodeListOf
<MathMLElementTagNameMap
[K
]>
node_modules/typescript/lib/lib.dom.d.ts:16816
▸ querySelectorAll<K
>(selectors
): NodeListOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Name | Type |
---|---|
K |
extends keyof HTMLElementDeprecatedTagNameMap
|
Name | Type |
---|---|
selectors |
K |
NodeListOf
<HTMLElementDeprecatedTagNameMap
[K
]>
Deprecated
node_modules/typescript/lib/lib.dom.d.ts:16818
▸ querySelectorAll<E
>(selectors
): NodeListOf
<E
>
Name | Type |
---|---|
E |
extends Element = Element
|
Name | Type |
---|---|
selectors |
string |
NodeListOf
<E
>
node_modules/typescript/lib/lib.dom.d.ts:16819
▸ removeChild<T
>(child
): T
Name | Type |
---|---|
T |
extends Node
|
Name | Type |
---|---|
child |
T |
T
node_modules/typescript/lib/lib.dom.d.ts:16200
▸ removeEventListener(type
, callback
, options?
): void
Removes the event listener in target's event listener list with the same type, callback, and options.
Name | Type |
---|---|
type |
string |
callback |
null | EventListenerOrEventListenerObject
|
options? |
boolean | EventListenerOptions
|
void
ParentNode.removeEventListener
node_modules/typescript/lib/lib.dom.d.ts:8223
▸ replaceChild<T
>(node
, child
): T
Name | Type |
---|---|
T |
extends Node
|
Name | Type |
---|---|
node |
Node |
child |
T |
T
node_modules/typescript/lib/lib.dom.d.ts:16202
▸ 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.
Name | Type |
---|---|
...nodes |
(string | Node )[] |
void
node_modules/typescript/lib/lib.dom.d.ts:16827
- @ralphschuler/ai-function-caller
- index
- types/AIFunction
- types/Message
- @ralphschuler/assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- error
- index
- util
- @ralphschuler/better-map
- @ralphschuler/better-set
- @ralphschuler/binary-serializer
- @ralphschuler/bit-mask
- @ralphschuler/complex-compare
- @ralphschuler/i811n
- @ralphschuler/logger
- Color
- ColorMap
- Logger
- animations/BallonAnimation
- animations/BaseAnimation
- animations/BombAnimation
- animations/BouncingBallAnimation
- animations/ClockAnimation
- animations/DotsAnimation
- animations/HorizontalBarAnimation
- animations/PongAnimation
- animations/ProgressAnimation
- animations/ProgressBarAnimation
- animations/SpinnerAnimation
- animations/VerticalBarAnimation
- enums/LogLevel
- index
- interfaces/IColor
- interfaces/IMessage
- types/ColorName
- types/Colors
- @ralphschuler/lsystem
- @ralphschuler/mixin-class-factory
- @ralphschuler/neuronal-network
- @ralphschuler/parser-combinator
- index
- inputTypes
- parser
- unicode
- @ralphschuler/prom-metrics-decorator
- @ralphschuler/prom-metrics-parser
- @ralphschuler/random
- PseudoRandomItemSelector
- PseudoRandomNumberGenerator
- Seed
- index
- strategies
- strategy
- strategy
- strategy
- strategy
- strategy
- strategy
- types
- type
- type
- type
- @ralphschuler/safe-array
- @ralphschuler/slot-mashine
- @ralphschuler/state-store
- StateStore
- index
- type
- type
- type
- type
- type
- type
- type
- type
- util
- @ralphschuler/stats-tracker
- @ralphschuler/ts-error
- error
- index
- type
- util
- util
- util
- util
- @ralphschuler/webgl-sand-engine
- index
- pixel-renderer
- @ralphschuler/webgl-shader-factory
- "node:stream/consumers"
- "node:stream/promises"
- ChatCompletionSnapshot
- Choice
- Message
- ToolCall
- EventEmitter
- FormData
- OpenAI
- OpenAI
- Audio
- Speech
- Transcriptions
- Translations
- Beta
- Assistants
- Assistant
- AssistantCreateParams
- AssistantUpdateParams
- Files
- Chat
- Threads
- Messages
- Files
- MessageContentImageFile
- MessageContentText
- Text
- FileCitation
- FilePath
- Runs
- RequiredActionFunctionToolCall
- Run
- RequiredAction
- RunCreateParams
- RunSubmitToolOutputsParams
- Steps
- CodeToolCall
- CodeInterpreter
- Image
- FunctionToolCall
- MessageCreationStepDetails
- RunStep
- ThreadCreateAndRunParams
- Thread
- ThreadCreateParams
- Chat
- Completions
- ChatCompletion
- ChatCompletionAssistantMessageParam
- ChatCompletionChunk
- Choice
- Delta
- ToolCall
- ChatCompletionContentPartImage
- ChatCompletionCreateParams
- ChatCompletionMessage
- ChatCompletionMessageToolCall
- ChatCompletionNamedToolChoice
- Completions
- CompletionChoice
- CompletionCreateParams
- Edits
- Edit
- Embeddings
- CreateEmbeddingResponse
- Files
- FineTunes
- FineTune
- FineTuneCreateParams
- FineTuneListEventsParams
- FineTuning
- Jobs
- FineTuningJob
- JobCreateParams
- Images
- Models
- Moderations
- Moderation
- internal
- finished
- pipeline
- "node:stream/consumers"
- "node:stream/promises"
- EventEmitter
- internal
- finished
- pipeline
- Counter
- Gauge
- Histogram
- Summary