* Retrieve a sub-element of the rendered output. * @param type PresenterElement type of the HTMLElement to retrieve.
(type: PresenterElement)
| 139 | * @param type PresenterElement type of the HTMLElement to retrieve. |
| 140 | */ |
| 141 | getElement(type: PresenterElement): HTMLElement { |
| 142 | const elements = this.el.getElementsByClassName(className(type, this)); |
| 143 | if (elements && elements.length) { |
| 144 | return elements[0] as HTMLElement; |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | /** |
| 149 | * Present the Vega Scene, or Stage object using Deck.gl. |
no test coverage detected