UNPKG

@dbp-toolkit/common

Version:

You can provide attributes (e.g. `global-name`) for components inside the provider:

17 lines (14 loc) 585 B
import {AdapterLitElement} from './adapter-lit-element.js'; export default class DBPLitElement extends AdapterLitElement { /** * Query selector within the shadow DOM or light DOM. * @param selector - The selector to query. * @returns The selected element or null if not found. */ _(selector: string): HTMLElement | null; /** Query selector within the shadow DOM or light DOM. * @param selector - The selector to query. * @returns The selected elements as a NodeList or null if not found. */ _a(selector: string): NodeList | null; }