Tour API Demos Download Tests
Aperture version 1.0
Generated by: JsDoc Toolkit 2.4.0

Namespace aperture.vizlet

The API for wrapping any root layer as a vizlet for insertion into the DOM.

Namespace Summary
Constructor Attributes Constructor Name and Description

Method Summary

Namespace Detail


Method Detail

  • <static> {Function} aperture.vizlet.make(layerConstructor, init)
    Takes a layer constructor and generates a constructor for a Vizlet version of the layer. Unlike layers which can only be used as children of other layers, Vizlets can be used as root objects and connected to a DOM element.
    {Function} layerConstructor
    The constructor function for the layer for which to generate a Vizlet view.
    {Function} init Optional
    An optional initialization function which will be called where this will be the newly created layer.
    {Function} A constructor function for a new Vizlet version of the supplied layer