Skip to content

wevu / index / ModelBinding

接口: ModelBinding<T>

定义于: packages/wevu/src/runtime/types/core.ts:52

类型参数

T

T = any

属性

model()

model: <Event, ValueProp, Formatted>(options?) => ModelBindingPayload<T, Event, ValueProp, Formatted>

定义于: packages/wevu/src/runtime/types/core.ts:55

类型参数

Event

Event extends string = "input"

ValueProp

ValueProp extends string = "value"

Formatted

Formatted = T

参数

options?

ModelBindingOptions<T, Event, ValueProp, Formatted>

返回

ModelBindingPayload<T, Event, ValueProp, Formatted>


update()

update: (value) => void

定义于: packages/wevu/src/runtime/types/core.ts:54

参数

value

T

返回

void


value

value: T

定义于: packages/wevu/src/runtime/types/core.ts:53

Released under the MIT License.