package.lit-element.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scoped-elements Show documentation
Show all versions of scoped-elements Show documentation
Allows to auto define custom elements scoping them
The newest version!
/**
* @typedef {import('./types.js').ScopedElementsHost} ScopedElementsHost
* @typedef {import('./types.js').ScopedElementsMap} ScopedElementsMap
* @typedef {import('lit').CSSResultOrNative} CSSResultOrNative
* @typedef {import('lit').LitElement} LitElement
* @typedef {typeof import('lit').LitElement} TypeofLitElement
* @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor
* @typedef {import('@open-wc/dedupe-mixin').Constructor} ScopedElementsHostConstructor
*/
/**
* @template {LitElementConstructor} T
* @param {T} superclass
* @return {T & ScopedElementsHostConstructor}
*/
export function ScopedElementsMixin(superclass: T): T & ScopedElementsHostConstructor;
export type ScopedElementsHost = import('./types.js').ScopedElementsHost;
export type ScopedElementsMap = import('./types.js').ScopedElementsMap;
export type CSSResultOrNative = import('lit').CSSResultOrNative;
export type LitElement = import('lit').LitElement;
export type TypeofLitElement = typeof import('lit').LitElement;
export type LitElementConstructor = import('@open-wc/dedupe-mixin').Constructor;
export type ScopedElementsHostConstructor = import('@open-wc/dedupe-mixin').Constructor;
//# sourceMappingURL=lit-element.d.ts.map