@@ -22,41 +22,33 @@ Creates a custom renderer. By providing platform-specific node creation and mani
2222 key : string ,
2323 prevValue : any ,
2424 nextValue : any ,
25- // the rest is unused for most custom renderers
26- isSVG ? : boolean ,
27- prevChildren ? : VNode <HostNode , HostElement >[],
25+ namespace ? : ElementNamespace ,
2826 parentComponent ? : ComponentInternalInstance | null ,
29- parentSuspense ? : SuspenseBoundary | null ,
30- unmountChildren ? : UnmountChildrenFn
31- ): void
32- insert(
33- el : HostNode ,
34- parent : HostElement ,
35- anchor ? : HostNode | null
3627 ): void
28+ insert(el : HostNode , parent : HostElement , anchor ? : HostNode | null ): void
3729 remove(el : HostNode ): void
3830 createElement(
3931 type : string ,
40- isSVG ? : boolean ,
32+ namespace ? : ElementNamespace ,
4133 isCustomizedBuiltIn ? : string ,
42- vnodeProps ? : (VNodeProps & { [key : string ]: any }) | null
34+ vnodeProps ? : (VNodeProps & { [key : string ]: any }) | null ,
4335 ): HostElement
4436 createText(text : string ): HostNode
4537 createComment(text : string ): HostNode
4638 setText(node : HostNode , text : string ): void
4739 setElementText(node : HostElement , text : string ): void
4840 parentNode(node : HostNode ): HostElement | null
4941 nextSibling(node : HostNode ): HostNode | null
50-
51- // optional, DOM-specific
5242 querySelector? (selector : string ): HostElement | null
5343 setScopeId? (el : HostElement , id : string ): void
5444 cloneNode? (node : HostNode ): HostNode
5545 insertStaticContent? (
5646 content : string ,
5747 parent : HostElement ,
5848 anchor : HostNode | null ,
59- isSVG : boolean
49+ namespace : ElementNamespace ,
50+ start ? : HostNode | null ,
51+ end ? : HostNode | null ,
6052 ): [HostNode , HostNode ]
6153 }
6254 ```
0 commit comments