Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
unidocs-zh
提交
5b984653
unidocs-zh
项目概览
DCloud
/
unidocs-zh
通知
3598
Star
108
Fork
921
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
120
列表
看板
标记
里程碑
合并请求
109
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
unidocs-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
120
Issue
120
列表
看板
标记
里程碑
合并请求
109
合并请求
109
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
5b984653
编写于
9月 14, 2023
作者:
D
DCloud_LXH
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: custom type json
上级
2eebb8fe
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
8 deletion
+8
-8
docs/.vuepress/utils/customTypeJson.json
docs/.vuepress/utils/customTypeJson.json
+8
-8
未找到文件。
docs/.vuepress/utils/customTypeJson.json
浏览文件 @
5b984653
...
...
@@ -102,17 +102,17 @@
"tutorial"
:
""
},
"appendChild"
:
{
"name"
:
"#### appendChild() @appendchild"
,
"name"
:
"#### appendChild(
aChild
) @appendchild"
,
"description"
:
"
\r\n
将一个节点添加到指定父节点的子节点列表的末尾处。如果将被插入的节点已经存在于当前文档的文档树中,那么将会它从原先的位置移动到新的位置。"
,
"param"
:
"##### 参数
\n\n
| 名称 | 类型 | 必填 | 默认值 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
|
undefine
d | [INode](/uni-app-x/dom/inode.md) | 是 | - | |"
,
"param"
:
"##### 参数
\n\n
| 名称 | 类型 | 必填 | 默认值 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
|
aChil
d | [INode](/uni-app-x/dom/inode.md) | 是 | - | |"
,
"returnValue"
:
""
,
"compatibility"
:
""
,
"tutorial"
:
""
},
"insertBefore"
:
{
"name"
:
"#### insertBefore(
,
) @insertbefore"
,
"name"
:
"#### insertBefore(
newChild, refChild
) @insertbefore"
,
"description"
:
"
\r\n
在参考节点之前插入一个拥有指定父节点的子节点。如果给定的子节点是对文档中现有节点的引用,insertBefore() 会将其从当前位置移动到新位置。"
,
"param"
:
"##### 参数
\n\n
| 名称 | 类型 | 必填 | 默认值 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
|
undefined | [INode](/uni-app-x/dom/inode.md) | 是 | - | |
\n
| undefine
d | [INode](/uni-app-x/dom/inode.md) | 是 | - | |"
,
"param"
:
"##### 参数
\n\n
| 名称 | 类型 | 必填 | 默认值 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
|
newChild | [INode](/uni-app-x/dom/inode.md) | 是 | - | |
\n
| refChil
d | [INode](/uni-app-x/dom/inode.md) | 是 | - | |"
,
"returnValue"
:
""
,
"compatibility"
:
""
,
"tutorial"
:
""
...
...
@@ -182,9 +182,9 @@
"tutorial"
:
""
},
"removeChild"
:
{
"name"
:
"#### removeChild() @removechild"
,
"name"
:
"#### removeChild(
aChild
) @removechild"
,
"description"
:
"
\r\n
从节点中删除一个子节点,返回删除的节点。"
,
"param"
:
"##### 参数
\n\n
| 名称 | 类型 | 必填 | 默认值 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
|
undefine
d | [INode](/uni-app-x/dom/inode.md) | 是 | - | |"
,
"param"
:
"##### 参数
\n\n
| 名称 | 类型 | 必填 | 默认值 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
|
aChil
d | [INode](/uni-app-x/dom/inode.md) | 是 | - | |"
,
"returnValue"
:
"##### 返回值
\n\n
| 类型 |
\n
| :- |
\n
| [INode](/uni-app-x/dom/inode.md) |
\n
"
,
"compatibility"
:
""
,
"tutorial"
:
""
...
...
@@ -198,9 +198,9 @@
"tutorial"
:
""
},
"dispatchEvent"
:
{
"name"
:
"#### dispatchEvent(type,
Event
) @dispatchevent"
,
"name"
:
"#### dispatchEvent(type,
value
) @dispatchevent"
,
"description"
:
"
\r\n
向一个指定的事件目标派发一个 Event,并以合适的顺序(同步地)调用此事件的监听器回调函数。"
,
"param"
:
"##### 参数
\n\n
| 名称 | 类型 | 必填 | 默认值 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| type | string | 是 | - | - |
\n
|
Event
| [Event](/uni-app-x/component/common#event) | 是 | - | |"
,
"param"
:
"##### 参数
\n\n
| 名称 | 类型 | 必填 | 默认值 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| type | string | 是 | - | - |
\n
|
value
| [Event](/uni-app-x/component/common#event) | 是 | - | |"
,
"returnValue"
:
""
,
"compatibility"
:
""
,
"tutorial"
:
""
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录