wevu / index / ComponentPublicInstance
类型别名: ComponentPublicInstance<D, C, M, P, S>
ComponentPublicInstance<
D,C,M,P,S> =D&ExtractComputed<C> &ExtractMethods<M> &object
定义于: packages/wevu/src/runtime/types/core.ts:16
类型声明
$attrs
$attrs:
Record<string,any>
$emit()
$emit: (
event,detail?,options?) =>void
参数
event
string
detail?
any
options?
返回
void
$props
$props:
P
$slots
$slots:
S
类型参数
D
D extends object = Record<string, any>
C
C extends ComputedDefinitions = ComputedDefinitions
M
M extends MethodDefinitions = MethodDefinitions
P
P = Record<string, any>
S
S = Record<string, any>