@ribajs/core
Version:
Core module of Riba.js
16 lines (15 loc) • 653 B
TypeScript
import { Binder } from "../binder.js";
import { BasicComponent } from "../component/basic-component.js";
import type { Observer } from "../observer.js";
export declare class ComponentAttributeBinder extends Binder<any, BasicComponent> {
static key: string;
publishes: boolean;
protected componentAttributeObserver?: Observer;
protected attributeName?: string;
protected __routine(el: BasicComponent, value: any): void;
routine(el: BasicComponent, value: any): Promise<void>;
protected __bind(el: BasicComponent): void;
bind(el: BasicComponent): Promise<void>;
unbind(): void;
getValue(el: BasicComponent): any;
}