研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >blockRendering >ConstantProvider >disabledPatternId
blockRendering.ConstantProvider.disabledPatternId 属性
已停用模式的 ID,如果未设置模式,则为空字符串。
Signature:
disabledPatternId: string;
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-22。
[null,null,["最后更新时间 (UTC):2024-08-22。"],[[["`disabledPatternId` is a property of the `ConstantProvider` class within the `blockRendering` namespace of Blockly."],["It stores the ID of the pattern used to visually represent disabled blocks, defaulting to an empty string if no pattern is set."],["This property's value is a string representing the ID of the desired pattern."]]],["The `disabledPatternId` property, found within the `blockRendering.ConstantProvider` class, stores the ID of a disabled pattern. If no pattern is defined, this property contains an empty string. This property's data type is a string and is used to identify the visual pattern applied to represent disabled elements.\n"]]