p-slides
Version:
Presentations made simple with Web Components
10 lines (9 loc) • 521 B
TypeScript
/**
* Register the library's custom elements, i.e. calls `customElements.define` on each of them, and returns a promise
* that resolves when the registration is complete (should be immediate).
*/
export function registerElements(): Promise<CustomElementConstructor[]>;
import { PresentationDeckElement } from './components/deck.js';
import { PresentationSlideElement } from './components/slide.js';
import { setStyleRoot } from './utils.js';
export { PresentationDeckElement, PresentationSlideElement, setStyleRoot };