wevu / index / ComponentDefinition
接口: ComponentDefinition<D, C, M>
定义于: packages/wevu/src/runtime/define.ts:17
defineComponent 返回的组件定义描述,用于手动注册或高级用法。
类型参数
D
D extends object
C
C extends ComputedDefinitions
M
M extends MethodDefinitions
属性
__wevu_options
__wevu_options:
object
定义于: packages/wevu/src/runtime/define.ts:32
Internal
内部选项快照(高级能力使用),包含 data/computed/methods 等。
computed
computed:
C
data()
data: () =>
D
返回
D
methods
methods:
M
mpOptions
mpOptions:
MiniProgramComponentRawOptions
setData
setData:
SetDataSnapshotOptions|undefined
setup
setup:
SetupFunction<ComponentPropsOptions,D,C,M> |undefined
watch
watch:
Record<string,any> |undefined
__wevu_runtime
__wevu_runtime:
RuntimeApp<D,C,M>
定义于: packages/wevu/src/runtime/define.ts:26
Internal
内部 runtime app(高级能力使用),不对外暴露正式 API。