Stay organized with collections
Save and categorize content based on your preferences.
blockly > ThemeManager > Component > element
ThemeManager.Component.element property
Signature:
element: HTMLElement | SVGElement;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003e\u003ccode\u003eelement\u003c/code\u003e stores the root HTML or SVG element associated with the component.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eelement\u003c/code\u003e property's type is either an HTMLElement or an SVGElement, accommodating different component types within Blockly's ThemeManager.\u003c/p\u003e\n"]]],["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"],null,["[blockly](./blockly.md) \\\u003e [ThemeManager](./blockly.thememanager_namespace.md) \\\u003e [Component](./blockly.thememanager_namespace.component_interface.md) \\\u003e [element](./blockly.thememanager_namespace.component_interface.element_propertysignature.md)\n\nThemeManager.Component.element property\n\n**Signature:** \n\n element: HTMLElement | SVGElement;"]]