UNPKG

@muban/muban

Version:

Writing components for server-rendered HTML

5 lines (4 loc) 454 B
import type { BindingsHelpers, BindingValue } from '../bindings.types'; declare type ValueElement = HTMLButtonElement | HTMLDataElement | HTMLOptionElement | HTMLInputElement | HTMLOutputElement | HTMLParamElement | HTMLSelectElement | HTMLTextAreaElement; export declare function valueBinding(target: ValueElement, model: BindingValue<string | number | boolean | undefined | null>, bindingHelpers: BindingsHelpers): (() => void) | undefined; export {};