소스 검색

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 {

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.