Skip to content

wevu / index / ModelBindingOptions

接口: ModelBindingOptions<T, Event, ValueProp, Formatted>

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

类型参数

T

T = any

Event

Event extends string = string

ValueProp

ValueProp extends string = string

Formatted

Formatted = T

属性

event?

optional event: Event

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


formatter()?

optional formatter: (value) => Formatted

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

参数

value

T

返回

Formatted


parser()?

optional parser: (payload) => T

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

参数

payload

any

返回

T


valueProp?

optional valueProp: ValueProp

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

Released under the MIT License.