UNPKG

@logo-elements/component-base

Version:

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

26 lines (22 loc) 846 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 disabled property for field components. */ export declare function DisabledMixin<T extends Constructor<HTMLElement>>(base: T): Constructor<DisabledMixinClass> & T; export declare class DisabledMixinClass { /** * If true, the user cannot interact with this element. */ disabled: boolean; protected _disabledChanged(disabled: boolean, oldDisabled: boolean): void; }