blockly > Field > createTextElement_
Field.createTextElement_() method
Create a field text element. Not to be overridden by subclasses. Instead modify the result of the function inside initView, or create a separate function to call.
Signature:
protected createTextElement_(): void;
Returns:
void
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.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `createTextElement_` method is a protected method used to create a text element for a Blockly field."],["Subclasses should not override this method directly but instead modify the element within the `initView` method or a separate function."],["This method does not return any value."]]],[]]