UNPKG

@logo-elements/component-base

Version:

A set of mixins used by Logo Elements which is extended from Vaadin components.

24 lines (21 loc) 786 B
/** * @license * Copyright LOGO YAZILIM SANAYİ VE TİCARET A.Ş. * * Save to the extent permitted by law, you may not use, copy, modify, * distribute or create derivative works of this material or any part * of it without the prior written consent of LOGO YAZILIM SANAYİ VE TİCARET A.Ş. Limited. * Any reproduction of this material must contain this notice. */ // @ts-ignore import { Constructor } from '@open-wc/dedupe-mixin'; /** * A mixin to provide content for named slots defined by component. */ export declare function SlotMixin<T extends Constructor<HTMLElement>>(base: T): T & Constructor<SlotMixinClass>; export declare class SlotMixinClass { /** * List of named slots to initialize. */ protected readonly slots: Record<string, () => HTMLElement>; }