blockly > WidgetDiv

WidgetDiv namespace

Functions

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?
repositionForWindowResize() Reposition the widget div if the owner of it says to. If the owner isn't a field, just give up and hide it.
show(newOwner, rtl, newDispose) Initialize and display the widget div. Close the old one if needed.