Class: oLayer

$. oLayer

The $.oLayer class represents a single line in the timeline.

new $.oLayer(oTimelineObject, layerIndex)

openHarmony/openHarmony_timeline.js, line 64
Constructor for $.oLayer class
Name Type Description
oTimelineObject oTimeline The timeline associated to this layer.
layerIndex int The index of the layer on the timeline (all layers included, node and columns).
Properties:
Name Type Description
index int The index of the layer on the timeline.
timeline oTimeline The timeline associated to this layer.
node oNode The node associated to the layer.

Members

readonlynamestring

The name of this layer/node.

node$.oNode

The node associated to the layer.

parent$.oLayer

the parent layer for this layer in the timeline. Returns the root group if layer is top level.

readonlyselectedbool

wether or not the layer is selected.