Skip to content

Commit 0080e52

Browse files
committed
done
1 parent 87085c5 commit 0080e52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/data/examples/zh-Hans/15_Instance_Mode/02_Instance_Container.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* @norender
33
* @name 实例容器
4-
* @description 你也可以制定一个默认容器作为画布,和其他任何想要被添加的元素,
5-
* 一并作为第二个参数。可以是带 ID 的 html 元素, 也可以是 html 节点本身。
4+
* @description 第二个参数可以是你指定作为画布的默认容器,也可以是任何
5+
你想要添加此 p5 实例容器至的元素。可以是带 ID 的 html 元素, 也可以是 html 节点本身。
66
*
77
* 以下列举了三种选择 DOM 元素作为容器的方法。
88
* 所有由 p5 创建的 DOM 元素(画布,按钮,div 等)都会被添加到指定的 DOM 元素上,

0 commit comments

Comments
 (0)