* Instantiate a new Presenter. * @param el Parent HTMLElement to present within. * @param style Optional PresenterStyle styling options.
(public el: HTMLElement, style?: PresenterStyle)
| 94 | * @param style Optional PresenterStyle styling options. |
| 95 | */ |
| 96 | constructor(public el: HTMLElement, style?: PresenterStyle) { |
| 97 | this.style = deepMerge<PresenterStyle>(defaultPresenterStyle, style); |
| 98 | initializePanel(this); |
| 99 | this._last = { view: null, height: null, width: null, cubeCount: null, stage: null }; |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * Cancels any pending animation, calling animationCanceled() on original queue. |
nothing calls this directly
no test coverage detected