UNPKG

@ibyar/core

Version:

Ibyar core, Implements Aurora's core functionality, low-level services, and utilities

20 lines 755 B
import { ReactiveScope } from '@ibyar/expressions'; import { TypeOf } from '@ibyar/expressions/api/utils'; import { AttributeDirective } from './directive.js'; export type ElementContext = { this: HTMLElement; } & { [key: string]: AttributeDirective | undefined; }; export declare class ElementReactiveScope extends ReactiveScope<ElementContext> { private el; private directiveMap; constructor(el: HTMLElement); getElement(): HTMLElement; getDirectives(): Map<string, AttributeDirective>; get(propertyKey: PropertyKey): any; set(propertyKey: PropertyKey, value: any, receiver?: any): boolean; has(propertyKey: string): boolean; getClass(): TypeOf<ElementReactiveScope>; } //# sourceMappingURL=providers.d.ts.map