UNPKG

igniteui-webcomponents

Version:

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.

11 lines (10 loc) 526 B
/** * TypeScript decorator that allows customizing the Shadow DOM options for a LitElement component. * * This decorator merges the provided `options` with LitElement's default `shadowRootOptions`, * providing a convenient way to configure the Shadow DOM, such as its `mode` (e.g., 'open' or 'closed') * or `delegatesFocus` property. * * https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow#options */ export declare function shadowOptions(options: Partial<ShadowRootInit>): (proto: unknown) => void;