Home > blockly > Flyout > setAutoClose
Flyout.setAutoClose() method
Sets whether this flyout automatically closes when blocks are dragged out, the workspace is clicked, etc, or not.
Signature:
setAutoClose(autoClose: boolean): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| autoClose | boolean |
Returns:
void