File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 10
10
* @method static void show()
11
11
* @method static void hide()
12
12
* @method static void label(string $label)
13
+ * @method static void tooltip(string $label)
14
+ * @method static void icon(string $icon)
15
+ * @method static void resize(int $width, int $height)
13
16
* @method static void contextMenu(Menu $contextMenu)
14
17
*/
15
18
class MenuBar extends Facade
@@ -19,3 +22,4 @@ protected static function getFacadeAccessor()
19
22
return \Native \Laravel \MenuBar \MenuBarManager::class;
20
23
}
21
24
}
25
+
Original file line number Diff line number Diff line change @@ -45,6 +45,14 @@ public function icon(string $icon)
45
45
]);
46
46
}
47
47
48
+ public function resize (int $ width , int $ height )
49
+ {
50
+ $ this ->client ->post ('menu-bar/resize ' , [
51
+ 'width ' => $ width ,
52
+ 'height ' => $ height ,
53
+ ]);
54
+ }
55
+
48
56
public function contextMenu (Menu $ contextMenu )
49
57
{
50
58
$ this ->client ->post ('menu-bar/context-menu ' , [
You can’t perform that action at this time.
0 commit comments