NodeAddedEvent#
Class NodeAddedEvent
Hierarchy
- WebVisEvent
- NodeAddedEvent
Index
Constructors
Properties
Constructors
constructor
- new
Node Added Event(targetNodeID: number, parentNodeID: number, nodeType: NodeType, dataUri: string, targetNodeDepth: number, label: string, properties?: { [key: string]: any }, usage?: UsageString, subType?: string, contentType?: string): NodeAddedEvent -
The NODE_ADDED event occurs if a Node has been added.
Parameters
-
targetNodeID: number
The ID of the target Node.
-
parentNodeID: number
The ID of the parent Node.
-
nodeType: NodeType
-
dataUri: string
The data URI of the target Node.
-
targetNodeDepth: number
The depth of the target Node.
-
label: string
The label of the target Node.
-
Optional
properties: { [key: string]: any }A map of all properties on the Node.
-
[key: string]: any
-
-
Optional
usage: UsageStringThe usage of the target Node.
-
Optional
subType: string -
Optional
contentType: string
Returns NodeAddedEvent
-
Properties
Optional
content Type
content Type?: string
data Uri
data Uri: string
id
id: number
label
label: string
node Type
parent NodeID
parent NodeID: number
Optional
properties
properties?: { [key: string]: any }
Type declaration
-
[key: string]: any
Optional
sub Type
sub Type?: string
target Node Depth
target Node Depth: number
target NodeID
target NodeID: number
Optional
transaction Code
transaction Code?: string
Optional
transactionID
transactionID?: number
Optional
type
type?: EventType
Optional
usage
usage?: UsageString
NODE_ADDED