|
22 | 22 | key: string, |
23 | 23 | prevValue: any, |
24 | 24 | nextValue: any, |
25 | | - // 残りはほとんどのカスタムレンダラーで使用されません |
26 | | - isSVG?: boolean, |
27 | | - prevChildren?: VNode<HostNode, HostElement>[], |
| 25 | + namespace?: ElementNamespace, |
28 | 26 | parentComponent?: ComponentInternalInstance | null, |
29 | | - parentSuspense?: SuspenseBoundary | null, |
30 | | - unmountChildren?: UnmountChildrenFn |
31 | | - ): void |
32 | | - insert( |
33 | | - el: HostNode, |
34 | | - parent: HostElement, |
35 | | - anchor?: HostNode | null |
36 | 27 | ): void |
| 28 | + insert(el: HostNode, parent: HostElement, anchor?: HostNode | null): void |
37 | 29 | remove(el: HostNode): void |
38 | 30 | createElement( |
39 | 31 | type: string, |
40 | | - isSVG?: boolean, |
| 32 | + namespace?: ElementNamespace, |
41 | 33 | isCustomizedBuiltIn?: string, |
42 | | - vnodeProps?: (VNodeProps & { [key: string]: any }) | null |
| 34 | + vnodeProps?: (VNodeProps & { [key: string]: any }) | null, |
43 | 35 | ): HostElement |
44 | 36 | createText(text: string): HostNode |
45 | 37 | createComment(text: string): HostNode |
46 | 38 | setText(node: HostNode, text: string): void |
47 | 39 | setElementText(node: HostElement, text: string): void |
48 | 40 | parentNode(node: HostNode): HostElement | null |
49 | 41 | nextSibling(node: HostNode): HostNode | null |
50 | | - |
51 | | - // 省略可能、DOM 固有のもの |
52 | 42 | querySelector?(selector: string): HostElement | null |
53 | 43 | setScopeId?(el: HostElement, id: string): void |
54 | 44 | cloneNode?(node: HostNode): HostNode |
55 | 45 | insertStaticContent?( |
56 | 46 | content: string, |
57 | 47 | parent: HostElement, |
58 | 48 | anchor: HostNode | null, |
59 | | - isSVG: boolean |
| 49 | + namespace: ElementNamespace, |
| 50 | + start?: HostNode | null, |
| 51 | + end?: HostNode | null, |
60 | 52 | ): [HostNode, HostNode] |
61 | 53 | } |
62 | 54 | ``` |
|
0 commit comments