@lion/core
Version:
Core functionality that is shared across all Lion Web Components
31 lines (25 loc) • 1.11 kB
TypeScript
import { Constructor } from '@open-wc/dedupe-mixin';
import { DisabledHost } from './DisabledMixinTypes';
import { LitElement } from '../index.js';
export declare class DisabledWithTabIndexHost {
tabIndex: number;
/**
* Makes request to make the element disabled and set the tabindex
*/
public makeRequestToBeDisabled(): void;
/**
* Retract request to make the element disabled and restore disabled and tabindex to previous
*/
public retractRequestToBeDisabled(): void;
private __internalSetTabIndex(value: boolean): void;
firstUpdated(changedProperties: import('lit-element').PropertyValues): void;
}
export declare function DisabledWithTabIndexMixinImplementation<T extends Constructor<LitElement>>(
superclass: T,
): T &
Constructor<DisabledWithTabIndexHost> &
Pick<typeof DisabledWithTabIndexHost, keyof typeof DisabledWithTabIndexHost> &
Constructor<DisabledHost> &
Pick<typeof DisabledHost, keyof typeof DisabledHost> &
Pick<typeof LitElement, keyof typeof LitElement>;
export type DisabledWithTabIndexMixin = typeof DisabledWithTabIndexMixinImplementation;