We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4e6656 commit 840f88dCopy full SHA for 840f88d
src/Windows/Window.php
@@ -219,10 +219,17 @@ public function maximized(): static
219
return $this->afterOpen(fn () => WindowFacade::maximize($this->id));
220
}
221
222
- public function closable($closable = true): static
+ public function closable(bool $closable = true): static
223
{
224
$this->closable = $closable;
225
226
+ if (! $this instanceof PendingOpenWindow) {
227
+ $this->client->post('window/closable', [
228
+ 'id' => $this->id,
229
+ 'closable' => $closable,
230
+ ]);
231
+ }
232
+
233
return $this;
234
235
0 commit comments