研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >事件 >BlockMove >(构造函数)
Events.BlockMove.(constructor)
构造 BlockMove
类的新实例
Signature:
constructor(opt_block?: Block);
参数
参数 |
类型 |
说明 |
opt_block |
屏蔽 |
(可选)已移动的块。对于空白事件,则未定义。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-15。
[null,null,["最后更新时间 (UTC):2024-10-15。"],[[["This page documents the constructor for the `BlockMove` class, which is used to create new instances of this event type."],["The `BlockMove` constructor optionally takes a `Block` object as an argument, representing the block that was moved."],["If no block is provided, a blank event is created, likely used as a placeholder or for initialization."]]],[]]