bitmovin-player-ui
Version:
Bitmovin Player UI Framework
11 lines (9 loc) • 299 B
text/typescript
import { AnyComponent } from '../types';
/**
* Returns the HTML elements associated to the provided component.
*
* @param component The component to get the HTML elements from
*/
export function toHtmlElement(component: AnyComponent): HTMLElement {
return component.getDomElement().get(0);
}