package.src.slot-styles-mixin.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of component-base Show documentation
Show all versions of component-base Show documentation
Vaadin component base mixins
/**
* @license
* Copyright (c) 2021 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import type { Constructor } from '@open-wc/dedupe-mixin';
/**
* Mixin to insert styles into the outer scope to handle slotted components.
* This is useful e.g. to hide native `` controls.
*/
export declare function SlotStylesMixin>(
base: T,
): Constructor & T;
export declare class SlotStylesMixinClass {
/**
* List of styles to insert into root.
*/
protected readonly slotStyles: string[];
}