MCPcopy Create free account
hub / github.com/microsoft/SandDance / constructor

Method constructor

docs/app/js/sanddance-app.js:8066–8077  ·  view source on GitHub ↗

* Instantiate a new Presenter. * @param el Parent HTMLElement to present within. * @param style Optional PresenterStyle styling options.

(el, style)

Source from the content-addressed store, hash-verified

8064 * @param el Parent HTMLElement to present within.
8065 * @param style Optional PresenterStyle styling options.
8066 */ constructor(el, style){
8067 this.el = el;
8068 this.style = (0, _clone.deepMerge)((0, _defaults.defaultPresenterStyle), style);
8069 (0, _panel.initializePanel)(this);
8070 this._last = {
8071 view: null,
8072 height: null,
8073 width: null,
8074 cubeCount: null,
8075 stage: null
8076 };
8077 }
8078 /**
8079 * Get the previously rendered Stage object.
8080 */ get stage() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected