فهرست منبع

chore(api): document new options from #6665 (#7072)

Lucas Fernandes Nogueira 2 سال پیش
والد
کامیت
3303041c92
2فایلهای تغییر یافته به همراه12 افزوده شده و 0 حذف شده
  1. 0 0
      tooling/api/docs/js-api.json
  2. 12 0
      tooling/api/src/window.ts

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
tooling/api/docs/js-api.json


+ 12 - 0
tooling/api/src/window.ts

@@ -2391,6 +2391,18 @@ interface WindowOptions {
    * The user agent for the webview.
    */
   userAgent?: string
+  /**
+   * Whether the window's native maximize button is enabled or not. Defaults to `true`.
+   */
+  maximizable?: boolean
+  /**
+   * Whether the window's native minimize button is enabled or not. Defaults to `true`.
+   */
+  minimizable?: boolean
+  /**
+   * Whether the window's native close button is enabled or not. Defaults to `true`.
+   */
+  closable?: boolean
 }
 
 function mapMonitor(m: Monitor | null): Monitor | null {

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است