vdom
ai-research-agent / editor/rendering/vdom
Functions
h()
Call Signature
function h<T, P, C>(
type,
props?,
ch?): T
Type Parameters
Type Parameter |
---|
|
|
Parameters
Parameter | Type |
---|---|
| ( |
|
|
|
|
Returns
T
Call Signature
function h(
type,
props?,
ch?): VNode
Parameters
Parameter | Type |
---|---|
|
|
|
|
|
Returns
patch()
function patch(
dom,
vdom,
oldKids?): Node
Parameters
Parameter | Type |
---|---|
|
|
| |
|
|
Returns
Node
recycleNode()
function recycleNode(dom): any
Parameters
Parameter | Type |
---|---|
|
|
Returns
any
Interfaces
H()
interface H<T, P, C>(
type,
props?,
ch?): T
Type Parameters
Type Parameter |
---|
|
|
Parameters
Parameter | Type |
---|---|
| ( |
|
|
|
|
Returns
T
interface H(
type,
props?,
ch?): VNode
Parameters
Parameter | Type |
---|---|
|
|
|
|
|
Returns
Props
Indexable
[key
: string
]: any
VNode
Properties
children
children: VChild[];
key
key: any;
props
props: Props;
type
type: string;
Type Aliases
VChild
type VChild: VNode | string;
Variables
options
const options: object;
Type declaration
Name | Type | Default value |
---|---|---|
|
| false |
React
const React: object;
Type declaration
Name | Type | Default value |
---|---|---|
| h |