adonisjs-livewire
Version:
A front-end framework for AdonisJS
18 lines (17 loc) • 504 B
TypeScript
export default class ComponentContext {
component: any;
mounting: boolean;
effects: {
[key: string]: any;
};
memo: {
[key: string]: any;
};
constructor(component: any, mounting?: boolean);
addEffect(key: string | {
[key: string]: any;
}, value?: any): void;
pushEffect(key: string, value: any, iKey?: string | number): void;
addMemo(key: string, value: any): void;
pushMemo(key: string, value: any, iKey?: string | number): void;
}