소스 검색

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 {