Skip to content

Interface: TableToSlidesElement ​

A <table> element, from whatever DOM implementation the caller has.

Deliberately not lib.dom's Element. lib.dom's types are built for a browser, and a non-browser DOM's element type — happy-dom's, jsdom's — declares its own members and does not satisfy them, so demanding Element would reject from TypeScript exactly the implementations pptx-ts/html exists to accept. Requiring the three members the conversion actually calls keeps a mistyped argument an error while letting every real DOM through.

Properties ​

getAttribute ​

getAttribute: (name) => string | null

Parameters ​

ParameterType
namestring

Returns ​

string | null


querySelector ​

querySelector: (selectors) => unknown

Parameters ​

ParameterType
selectorsstring

Returns ​

unknown


querySelectorAll ​

querySelectorAll: (selectors) => unknown

Parameters ​

ParameterType
selectorsstring

Returns ​

unknown