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. Aria state is hidden; use the aria label for the field and/or containing block to expose content to screen readers. Text content for custom blocks can be set after creation.
Signature:
protected createTextElement_(): void;
Returns:
void