瀏覽代碼

Add width and height attributes to SideMenuSide type (#5235)

Hayden Ball 5 年之前
父節點
當前提交
73d621d48d
共有 1 個檔案被更改,包括 8 行新增0 行删除
  1. 8
    0
      lib/src/interfaces/Options.ts

+ 8
- 0
lib/src/interfaces/Options.ts 查看文件

@@ -593,6 +593,14 @@ export interface SideMenuSide {
593 593
    * Enable or disable the side menu
594 594
    */
595 595
   enabled?: boolean;
596
+  /**
597
+   * Set the width of the side menu
598
+   */
599
+  width?: number;
600
+  /**
601
+   * Set the height of the side menu
602
+   */
603
+  height?: number;
596 604
 }
597 605
 
598 606
 export interface OptionsSideMenu {