Stay organized with collections Save and categorize content based on your preferences.

blockly > WidgetDiv

WidgetDiv namespace


Function Description
createDom() Create the widget div and inject it onto the page.
getDiv() Returns the HTML container for editor widgets.
hide() Destroy the widget and hide the div.
hideIfOwner(oldOwner) Destroy the widget and hide the div if it is being used by the specified object.
isVisible() Is the container visible?
show(newOwner, rtl, newDispose) Initialize and display the widget div. Close the old one if needed.