Просмотр исходного кода

docs(config): add missing window configs

Lucas Nogueira 4 лет назад
Родитель
Сommit
1886a9885e
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      docs/api/config.md

+ 3 - 1
docs/api/config.md

@@ -259,15 +259,17 @@ It's composed of the following properties:
         { property: "minWidth", type: "number", description: `The minimum window width.` },
         { property: "minHeight", type: "number", description: `The minimum window height.` },
         { property: "maxWidth", type: "number", description: `The maximum window width.` },
-        { property: "minHeight", type: "number", description: `The minimum window height.` },
+        { property: "maxHeight", type: "number", description: `The maximum window height.` },
         { property: "resizable", optional: true, type: "boolean", description: `Whether the window is resizable or not..` },
         { property: "title", type: "string", description: `Window title.` },
         { property: "fullscreen", optional: true, type: "boolean", description: `Whether the window starts as fullscreen or not.` },
+        { property: "focus", optional: true, type: "boolean", description: `Whether the window will be initially hidden or focused.` },
         { property: "transparent", optional: true, type: "boolean", description: `Whether the window is transparent or not.` },
         { property: "maximized", optional: true, type: "boolean", description: `Whether the window is maximized or not.` },
         { property: "visible", optional: true, type: "boolean", description: `Whether the window is visible or not.` },
         { property: "decorations", optional: true, type: "boolean", description: `Whether the window should have borders and bars.` },
         { property: "alwaysOnTop", optional: true, type: "boolean", description: `Whether the window should always be on top of other windows.` },
+        { property: "skipTaskbar", optional: true, type: "boolean", description: `Whether or not the window icon should be added to the taskbar.` },
       ]}/>
     </Array>
   },