|
@ -69,16 +69,34 @@ declare interface Component { |
|
|
_provided: ?Object; |
|
|
_provided: ?Object; |
|
|
|
|
|
|
|
|
// private methods
|
|
|
// private methods
|
|
|
|
|
|
|
|
|
// lifecycle
|
|
|
// lifecycle
|
|
|
_init: Function; |
|
|
_init: Function; |
|
|
_mount: (el?: Element | void, hydrating?: boolean) => Component; |
|
|
_mount: (el?: Element | void, hydrating?: boolean) => Component; |
|
|
_update: (vnode: VNode, hydrating?: boolean) => void; |
|
|
_update: (vnode: VNode, hydrating?: boolean) => void; |
|
|
|
|
|
|
|
|
// rendering
|
|
|
// rendering
|
|
|
_render: () => VNode; |
|
|
_render: () => VNode; |
|
|
__patch__: (a: Element | VNode | void, b: VNode) => any; |
|
|
|
|
|
|
|
|
__patch__: ( |
|
|
|
|
|
a: Element | VNode | void, |
|
|
|
|
|
b: VNode, |
|
|
|
|
|
hydrating?: boolean, |
|
|
|
|
|
removeOnly?: boolean, |
|
|
|
|
|
parentElm?: any, |
|
|
|
|
|
refElm?: any |
|
|
|
|
|
) => any; |
|
|
|
|
|
|
|
|
// createElement
|
|
|
// createElement
|
|
|
|
|
|
|
|
|
// _c is internal that accepts `normalizationType` optimization hint
|
|
|
// _c is internal that accepts `normalizationType` optimization hint
|
|
|
_c: (vnode?: VNode, data?: VNodeData, children?: VNodeChildren, normalizationType?: number) => VNode | void; |
|
|
_c: ( |
|
|
|
|
|
vnode?: VNode, |
|
|
|
|
|
data?: VNodeData, |
|
|
|
|
|
children?: VNodeChildren, |
|
|
|
|
|
normalizationType?: number |
|
|
|
|
|
) => VNode | void; |
|
|
|
|
|
|
|
|
// renderStatic
|
|
|
// renderStatic
|
|
|
_m: (index: number, isInFor?: boolean) => VNode | VNodeChildren; |
|
|
_m: (index: number, isInFor?: boolean) => VNode | VNodeChildren; |
|
|
// markOnce
|
|
|
// markOnce
|
|
|