@muban/muban
Version:
Writing components for server-rendered HTML
6 lines (5 loc) • 569 B
TypeScript
import type { BindingValue } from '../bindings.types';
declare type DisableElement = HTMLButtonElement | HTMLFieldSetElement | HTMLInputElement | HTMLLinkElement | HTMLOptGroupElement | HTMLOptionElement | HTMLSelectElement | HTMLTextAreaElement | SVGStyleElement;
export declare function enableBinding(target: DisableElement, valueAccessor: BindingValue<boolean>): import("@vue/runtime-core").WatchStopHandle;
export declare function disableBinding(target: DisableElement, valueAccessor: BindingValue<boolean>): import("@vue/runtime-core").WatchStopHandle;
export {};