blockly > IBubble > setAutoLayout
IBubble.setAutoLayout() method
Set whether auto-layout of this bubble is enabled. The first time a bubble is shown it positions itself to not cover any blocks. Once a user has dragged it to reposition, it renders where the user put it.
Signature:
setAutoLayout(enable: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
enable | boolean | True if auto-layout should be enabled, false otherwise. |
Returns:
void