NTransition
Represents a transition to another beat (->).
Instance Members
target: StringName of the target beat.
targetPos: PositionPosition of the target part of the transition
type(): String| Returns |
|---|
| String |
toJson(): DynamicConverts the transition to a JSON representation.
| Returns | Description |
|---|---|
| Dynamic | Dynamic object containing transition data |
new(id: NodeId, pos: Position, target: String, targetPos: Position, ?leadingComments: Array<Comment>, ?trailingComments: Array<Comment>): VoidCreates a new transition node.
| Name | Type | Default | Description |
|---|---|---|---|
id |
NodeId | ||
pos |
Position | Position in source where this transition appears | |
target |
String | Name of the target beat | |
targetPos |
Position | Position of the target part of the transition | |
leadingComments |
Array<Comment> | (optional) | Optional comments before the transition |
trailingComments |
Array<Comment> | (optional) | Optional comments after the transition |