File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ class Window
17
17
18
18
protected bool $ fullscreen = false ;
19
19
20
+ protected bool $ fullscreenable = true ;
21
+
20
22
protected bool $ kiosk = false ;
21
23
22
24
protected $ rememberState = false ;
@@ -209,6 +211,13 @@ public function fullscreen($fullscreen = false): static
209
211
return $ this ;
210
212
}
211
213
214
+ public function fullscreenable ($ fullscreenable = true ): static
215
+ {
216
+ $ this ->fullscreenable = $ fullscreenable ;
217
+
218
+ return $ this ;
219
+ }
220
+
212
221
public function kiosk ($ kiosk = false ): static
213
222
{
214
223
$ this ->kiosk = $ kiosk ;
@@ -247,6 +256,7 @@ public function toArray()
247
256
'closable ' => $ this ->closable ,
248
257
'title ' => $ this ->title ,
249
258
'fullscreen ' => $ this ->fullscreen ,
259
+ 'fullscreenable ' => $ this ->fullscreenable ,
250
260
'kiosk ' => $ this ->kiosk ,
251
261
'autoHideMenuBar ' => $ this ->autoHideMenuBar ,
252
262
];
You can’t perform that action at this time.
0 commit comments