Child class

Class

Abstract types

inner

makeContainerNode(container) → (HTMLElement or jQuery)

Creates and returns a HTMLElement or jQuery object for a container. The content of the container is appended to this element. This function has to append the element to the modelviewer's containersNode.

Parameter

Name Type Optional Description

container

module:meteoJS/modelviewer/container.Container

 

Container to append.

Returns

(HTMLElement or jQuery) Top node of the appended container.

inner

options  Object

Options for constructor.

Parameters

Name Type Optional Description

resources

module:meteoJS/modelviewer/resources.Resources

 

Available resources.

containersNode

(HTMLElement or jQuery)

 

Node to append the containers.

timeline

module:meteoJS/timeline.Timeline

Yes

Shared Timeline between containers.

makeContainerNode

module:meteoJS/modelviewer~makeContainerNode

Yes

Function to create the top node of each container.

firstTimeOnInit

boolean

Yes

Selects the first time in timeline once for the first time times are added to the timeline.

Defaults to true.

lastTimeOnInit

boolean

Yes

Selects the last time in timeline once for the first time times are added to the timeline. Ignored if firstTimeOnInit is true.

Defaults to false.