* Enable/disable floating widgets (default: `false`). * When floating is enabled, widgets can move up to fill empty spaces. * See [example](http://gridstackjs.com/demo/float.html) * * @param val true to enable floating, false to disable * * @example * engine.float = true; // En
(val: boolean)
| 419 | * engine.float = false; // Disable floating (default) |
| 420 | */ |
| 421 | public set float(val: boolean) { |
| 422 | if (this._float === val) return; |
| 423 | this._float = val || false; |
| 424 | if (!val) { |
| 425 | this._packNodes()._notify(); |
| 426 | } |
| 427 | } |
| 428 | |
| 429 | /** |
| 430 | * Get the current floating mode setting. |
nothing calls this directly
no test coverage detected