@exadel/esl
Version:
Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components
23 lines (22 loc) • 817 B
TypeScript
import type { ESLBaseElementShape } from '../../esl-base-element/core/esl-base-element.shape';
import type { ESLA11yGroup } from './esl-a11y-group';
/**
* Tag declaration interface of {@link ESLA11yGroup} element
* Used for TSX declaration
*/
export interface ESLA11yGroupTagShape extends ESLBaseElementShape<ESLA11yGroup> {
/** Define target elements multiple selector ({@link ESLTraversingQuery} syntax) */
'targets'?: string;
/** Enable activation target (via click event) on selection */
'activate-selected'?: boolean;
/** Children are not allowed for ESLA11yGroup */
children?: never[];
}
declare global {
namespace JSX {
interface IntrinsicElements {
/** {@link ESLA11yGroup} custom tag */
'esl-a11y-group': ESLA11yGroupTagShape;
}
}
}