封鎖 >ThemeManager >元件 >元素
ThemeManager.Component.element 屬性
Signature:
element: HTMLElement | SVGElement;
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-29 (世界標準時間)。
[null,null,["上次更新時間:2024-08-29 (世界標準時間)。"],[[["`element` stores the root HTML or SVG element associated with the component."],["The `element` property's type is either an HTMLElement or an SVGElement, accommodating different component types within Blockly's ThemeManager."]]],["The `element` property, found within the `ThemeManager.Component` interface, is defined. This property, of type `HTMLElement` or `SVGElement`, is a core element of the interface. It represents either an HTML or SVG element, which are the fundamental building blocks that a component uses. It is found within the blockly namespace, through the theme manager.\n"]]