UNPKG

@spectrum-web-components/base

Version:

The `SpectrumElement` base class as created by mixing `SpectrumMixin` onto `LitElement` adopts `dir` values from the `document` at connection time with a fallback to `lrt`. In a TypeScript context, it also enforces the presence of `this.shadowRoot` on ext

3 lines (2 loc) 231 B
export declare function conditionAttributeWithoutId(el: HTMLElement, attribute: string, ids: string[]): void; export declare function conditionAttributeWithId(el: HTMLElement, attribute: string, id: string | string[]): () => void;