adonisjs-livewire
Version:
A front-end framework for AdonisJS
12 lines (11 loc) • 1.04 kB
TypeScript
import { Component } from '../component.js';
export declare function title(value: string): (constructor: typeof Component) => void;
export declare function layout(name?: string, props?: Record<string, any>): (constructor: typeof Component) => void;
export declare function lazy(isolate?: boolean): (constructor: typeof Component) => void;
export declare function computed(name?: string): (target: Component, propertyKey: string, _descriptor: PropertyDescriptor) => void;
export declare function on(name?: string): (target: Component, propertyKey: string) => void;
export declare function modelable(): (target: Component, propertyKey: string) => void;
export declare function locked(): (target: Component, propertyKey: string) => void;
export declare function url(as?: string | null): (target: Component, propertyKey: string) => void;
export declare function bind(): (target: Component, propertyKey: string, descriptor: PropertyDescriptor) => void;
export declare function renderless(): (target: Component, propertyKey: string) => void;