-
Notifications
You must be signed in to change notification settings - Fork 0
@ralphschuler.webgl shader factory.<internal>.Attr
@ralphschuler/webgl-shader-factory.<internal>.Attr
A DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types.
-
↳
Attr
- 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
- childNodes
- firstChild
- isConnected
- lastChild
- localName
- name
- namespaceURI
- nextSibling
- nodeName
- nodeType
- nodeValue
- ownerDocument
- ownerElement
- parentElement
- parentNode
- prefix
- previousSibling
- specified
- textContent
- value
- addEventListener
- appendChild
- cloneNode
- compareDocumentPosition
- contains
- dispatchEvent
- getRootNode
- hasChildNodes
- insertBefore
- isDefaultNamespace
- isEqualNode
- isSameNode
- lookupNamespaceURI
- lookupPrefix
- normalize
- removeChild
- removeEventListener
- replaceChild
• Readonly
ATTRIBUTE_NODE: 2
Node.ATTRIBUTE_NODE
node_modules/typescript/lib/lib.dom.d.ts:16205
• Readonly
CDATA_SECTION_NODE: 4
node is a CDATASection node.
Node.CDATA_SECTION_NODE
node_modules/typescript/lib/lib.dom.d.ts:16209
• Readonly
COMMENT_NODE: 8
node is a Comment node.
Node.COMMENT_NODE
node_modules/typescript/lib/lib.dom.d.ts:16215
• Readonly
DOCUMENT_FRAGMENT_NODE: 11
node is a DocumentFragment node.
Node.DOCUMENT_FRAGMENT_NODE
node_modules/typescript/lib/lib.dom.d.ts:16221
• Readonly
DOCUMENT_NODE: 9
node is a document.
Node.DOCUMENT_NODE
node_modules/typescript/lib/lib.dom.d.ts:16217
• Readonly
DOCUMENT_POSITION_CONTAINED_BY: 16
Set when other is a descendant of node.
Node.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.
Node.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.
Node.DOCUMENT_POSITION_DISCONNECTED
node_modules/typescript/lib/lib.dom.d.ts:16224
• Readonly
DOCUMENT_POSITION_FOLLOWING: 4
Set when other is following node.
Node.DOCUMENT_POSITION_FOLLOWING
node_modules/typescript/lib/lib.dom.d.ts:16228
• Readonly
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32
Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
node_modules/typescript/lib/lib.dom.d.ts:16233
• Readonly
DOCUMENT_POSITION_PRECEDING: 2
Set when other is preceding node.
Node.DOCUMENT_POSITION_PRECEDING
node_modules/typescript/lib/lib.dom.d.ts:16226
• Readonly
DOCUMENT_TYPE_NODE: 10
node is a doctype.
Node.DOCUMENT_TYPE_NODE
node_modules/typescript/lib/lib.dom.d.ts:16219
• Readonly
ELEMENT_NODE: 1
node is an element.
Node.ELEMENT_NODE
node_modules/typescript/lib/lib.dom.d.ts:16204
• Readonly
ENTITY_NODE: 6
Node.ENTITY_NODE
node_modules/typescript/lib/lib.dom.d.ts:16211
• Readonly
ENTITY_REFERENCE_NODE: 5
Node.ENTITY_REFERENCE_NODE
node_modules/typescript/lib/lib.dom.d.ts:16210
• Readonly
NOTATION_NODE: 12
Node.NOTATION_NODE
node_modules/typescript/lib/lib.dom.d.ts:16222
• Readonly
PROCESSING_INSTRUCTION_NODE: 7
node is a ProcessingInstruction node.
Node.PROCESSING_INSTRUCTION_NODE
node_modules/typescript/lib/lib.dom.d.ts:16213
• Readonly
TEXT_NODE: 3
node is a Text node.
Node.TEXT_NODE
node_modules/typescript/lib/lib.dom.d.ts:16207
• Readonly
baseURI: string
Returns node's node document's document base URL.
Node.baseURI
node_modules/typescript/lib/lib.dom.d.ts:16074
• Readonly
childNodes: NodeListOf
<ChildNode
>
Returns the children.
Node.childNodes
node_modules/typescript/lib/lib.dom.d.ts:16080
• Readonly
firstChild: null
| ChildNode
Returns the first child.
Node.firstChild
node_modules/typescript/lib/lib.dom.d.ts:16086
• Readonly
isConnected: boolean
Returns true if node is connected and false otherwise.
Node.isConnected
node_modules/typescript/lib/lib.dom.d.ts:16092
• Readonly
lastChild: null
| ChildNode
Returns the last child.
Node.lastChild
node_modules/typescript/lib/lib.dom.d.ts:16098
• Readonly
localName: string
node_modules/typescript/lib/lib.dom.d.ts:2569
• Readonly
name: string
node_modules/typescript/lib/lib.dom.d.ts:2571
• Readonly
namespaceURI: null
| string
node_modules/typescript/lib/lib.dom.d.ts:2573
• Readonly
nextSibling: null
| ChildNode
Returns the next sibling.
Node.nextSibling
node_modules/typescript/lib/lib.dom.d.ts:16104
• Readonly
nodeName: string
Returns a string appropriate for the type of node.
Node.nodeName
node_modules/typescript/lib/lib.dom.d.ts:16110
• Readonly
nodeType: number
Returns the type of node.
Node.nodeType
node_modules/typescript/lib/lib.dom.d.ts:16116
• nodeValue: null
| string
Node.nodeValue
node_modules/typescript/lib/lib.dom.d.ts:16118
• Readonly
ownerDocument: Document
Node.ownerDocument
node_modules/typescript/lib/lib.dom.d.ts:2574
• Readonly
ownerElement: null
| Element
node_modules/typescript/lib/lib.dom.d.ts:2576
• Readonly
parentElement: null
| HTMLElement
Returns the parent element.
Node.parentElement
node_modules/typescript/lib/lib.dom.d.ts:16130
• Readonly
parentNode: null
| ParentNode
Returns the parent.
Node.parentNode
node_modules/typescript/lib/lib.dom.d.ts:16136
• Readonly
prefix: null
| string
node_modules/typescript/lib/lib.dom.d.ts:2578
• Readonly
previousSibling: null
| ChildNode
Returns the previous sibling.
Node.previousSibling
node_modules/typescript/lib/lib.dom.d.ts:16142
• Readonly
specified: boolean
Deprecated
node_modules/typescript/lib/lib.dom.d.ts:2584
• textContent: null
| string
Node.textContent
node_modules/typescript/lib/lib.dom.d.ts:16144
• value: string
node_modules/typescript/lib/lib.dom.d.ts:2586
▸ 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.addEventListener
node_modules/typescript/lib/lib.dom.d.ts:8211
▸ appendChild<T
>(node
): T
Name | Type |
---|---|
T |
extends Node
|
Name | Type |
---|---|
node |
T |
T
Node.appendChild
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.cloneNode
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
Node.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.contains
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.dispatchEvent
node_modules/typescript/lib/lib.dom.d.ts:8217
▸ getRootNode(options?
): Node
Returns node's root.
Name | Type |
---|---|
options? |
GetRootNodeOptions |
Node.getRootNode
node_modules/typescript/lib/lib.dom.d.ts:16170
▸ hasChildNodes(): boolean
Returns whether node has children.
boolean
Node.hasChildNodes
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.insertBefore
node_modules/typescript/lib/lib.dom.d.ts:16178
▸ isDefaultNamespace(namespace
): boolean
Name | Type |
---|---|
namespace |
null | string
|
boolean
Node.isDefaultNamespace
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.isEqualNode
node_modules/typescript/lib/lib.dom.d.ts:16186
▸ isSameNode(otherNode
): boolean
Name | Type |
---|---|
otherNode |
null | Node
|
boolean
Node.isSameNode
node_modules/typescript/lib/lib.dom.d.ts:16188
▸ lookupNamespaceURI(prefix
): null
| string
Name | Type |
---|---|
prefix |
null | string
|
null
| string
Node.lookupNamespaceURI
node_modules/typescript/lib/lib.dom.d.ts:16190
▸ lookupPrefix(namespace
): null
| string
Name | Type |
---|---|
namespace |
null | string
|
null
| string
Node.lookupPrefix
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.normalize
node_modules/typescript/lib/lib.dom.d.ts:16198
▸ removeChild<T
>(child
): T
Name | Type |
---|---|
T |
extends Node
|
Name | Type |
---|---|
child |
T |
T
Node.removeChild
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
Node.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.replaceChild
node_modules/typescript/lib/lib.dom.d.ts:16202
- @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