Class: CanvasView

CanvasView(propertiesopt)

new CanvasView(propertiesopt)

Create a View.
Parameters:
Name Type Attributes Default Description
properties Object <optional>
{} the properties of the view
Properties
Name Type Attributes Default Description
container string The div element to attach to
css string The css classes to set, can be multiple if separate by spaces
visible boolean set the default behavior of the visibility of the view
layers Array.<Object> <optional>
[] The initial layers to add
Source:

Events

onAfterDecoded

Called after each decoded frame.
Source: