@syncfusion/ej2-navigations 20.1.48 → 20.1.51-10460
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +243 -243
- package/CHANGELOG.md +1601 -1585
- package/README.md +194 -194
- package/dist/ej2-navigations.min.js +1 -0
- package/dist/ej2-navigations.umd.min.js +1 -10
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +78 -76
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +234 -232
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +1 -10
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/dist/ts/accordion/accordion.ts +1545 -0
- package/dist/ts/breadcrumb/breadcrumb.ts +873 -0
- package/dist/ts/carousel/carousel.ts +1181 -0
- package/dist/ts/common/h-scroll.ts +477 -0
- package/dist/ts/common/menu-base.ts +2357 -0
- package/dist/ts/common/menu-scroll.ts +105 -0
- package/dist/ts/common/v-scroll.ts +454 -0
- package/{src/context-menu/context-menu.d.ts → dist/ts/context-menu/context-menu.ts} +134 -88
- package/dist/ts/menu/menu.ts +302 -0
- package/dist/ts/sidebar/sidebar.ts +874 -0
- package/dist/ts/tab/tab.ts +2637 -0
- package/dist/ts/toolbar/toolbar.ts +2378 -0
- package/dist/ts/treeview/treeview.ts +5768 -0
- package/helpers/e2e/accordionHelper.js +70 -53
- package/helpers/e2e/contextmenuHelper.js +52 -35
- package/helpers/e2e/index.js +14 -12
- package/helpers/e2e/menuHelper.js +52 -35
- package/helpers/e2e/sidebarHelper.js +109 -92
- package/helpers/e2e/tabHelper.js +73 -56
- package/helpers/e2e/toolbarHelper.js +73 -56
- package/helpers/e2e/treeview.js +79 -61
- package/license +10 -10
- package/package.json +164 -164
- package/src/accordion/accordion-model.d.ts +190 -190
- package/src/accordion/accordion.js +19 -19
- package/src/breadcrumb/breadcrumb-model.d.ts +105 -105
- package/src/breadcrumb/breadcrumb.js +19 -19
- package/src/carousel/carousel-model.d.ts +148 -148
- package/src/carousel/carousel.js +19 -19
- package/src/common/h-scroll-model.d.ts +6 -6
- package/src/common/h-scroll.js +19 -19
- package/src/common/menu-base-model.d.ts +206 -206
- package/src/common/menu-base.js +22 -20
- package/src/common/v-scroll-model.d.ts +6 -6
- package/src/common/v-scroll.js +19 -19
- package/src/context-menu/context-menu-model.d.ts +18 -18
- package/src/context-menu/context-menu.js +19 -19
- package/src/menu/menu-model.d.ts +43 -43
- package/src/menu/menu.js +19 -19
- package/src/sidebar/sidebar-model.d.ts +191 -191
- package/src/sidebar/sidebar.js +19 -19
- package/src/tab/tab-model.d.ts +291 -291
- package/src/tab/tab.js +21 -21
- package/src/toolbar/toolbar-model.d.ts +195 -195
- package/src/toolbar/toolbar.js +19 -19
- package/src/treeview/treeview-model.d.ts +411 -411
- package/src/treeview/treeview.js +20 -20
- package/styles/accordion/_bds-definition.scss +167 -0
- package/styles/accordion/_bigger.scss +121 -0
- package/styles/accordion/_bootstrap5.3-definition.scss +168 -0
- package/styles/accordion/_fluent2-definition.scss +167 -0
- package/styles/accordion/_fusionnew-definition.scss +168 -0
- package/styles/accordion/_material3-dark-definition.scss +1 -0
- package/styles/accordion/_material3-definition.scss +168 -0
- package/styles/accordion/fluent2.scss +4 -0
- package/styles/accordion/icons/_bds.scss +15 -0
- package/styles/accordion/icons/_bootstrap5.3.scss +15 -0
- package/styles/accordion/icons/_fluent2.scss +15 -0
- package/styles/accordion/icons/_fusionnew.scss +15 -0
- package/styles/accordion/icons/_material3-dark.scss +1 -0
- package/styles/accordion/icons/_material3.scss +15 -0
- package/styles/accordion/material3-dark.scss +4 -0
- package/styles/accordion/material3.scss +4 -0
- package/styles/appbar/_all.scss +2 -0
- package/styles/appbar/_bds-definition.scss +25 -0
- package/styles/appbar/_bigger.scss +15 -0
- package/styles/appbar/_bootstrap-dark-definition.scss +6 -0
- package/styles/appbar/_bootstrap-definition.scss +6 -0
- package/styles/appbar/_bootstrap4-definition.scss +6 -0
- package/styles/appbar/_bootstrap5-definition.scss +6 -0
- package/styles/appbar/_bootstrap5.3-definition.scss +6 -0
- package/styles/appbar/_fabric-dark-definition.scss +6 -0
- package/styles/appbar/_fabric-definition.scss +6 -0
- package/styles/appbar/_fluent-definition.scss +6 -0
- package/styles/appbar/_fluent2-definition.scss +24 -0
- package/styles/appbar/_fusionnew-definition.scss +6 -0
- package/styles/appbar/_highcontrast-definition.scss +6 -0
- package/styles/appbar/_highcontrast-light-definition.scss +6 -0
- package/styles/appbar/_layout.scss +76 -0
- package/styles/appbar/_material-dark-definition.scss +6 -0
- package/styles/appbar/_material-definition.scss +6 -0
- package/styles/appbar/_material3-definition.scss +6 -0
- package/styles/appbar/_tailwind-definition.scss +6 -0
- package/styles/appbar/_theme.scss +216 -0
- package/styles/bootstrap-dark.css +1 -1
- package/styles/bootstrap.css +1 -1
- package/styles/bootstrap4.css +1 -1
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/breadcrumb/_bds-definition.scss +60 -0
- package/styles/breadcrumb/_bigger.scss +160 -0
- package/styles/breadcrumb/_bootstrap5.3-definition.scss +61 -0
- package/styles/breadcrumb/_fluent2-definition.scss +61 -0
- package/styles/breadcrumb/_fusionnew-definition.scss +59 -0
- package/styles/breadcrumb/_layout.scss +1 -1
- package/styles/breadcrumb/_material3-dark-definition.scss +1 -0
- package/styles/breadcrumb/_material3-definition.scss +60 -0
- package/styles/breadcrumb/bootstrap-dark.css +1 -1
- package/styles/breadcrumb/bootstrap.css +1 -1
- package/styles/breadcrumb/bootstrap4.css +1 -1
- package/styles/breadcrumb/bootstrap5-dark.css +1 -1
- package/styles/breadcrumb/bootstrap5.css +1 -1
- package/styles/breadcrumb/fabric-dark.css +1 -1
- package/styles/breadcrumb/fabric.css +1 -1
- package/styles/breadcrumb/fluent-dark.css +1 -1
- package/styles/breadcrumb/fluent.css +1 -1
- package/styles/breadcrumb/fluent2.scss +4 -0
- package/styles/breadcrumb/highcontrast-light.css +1 -1
- package/styles/breadcrumb/highcontrast.css +1 -1
- package/styles/breadcrumb/icons/_bds.scss +23 -0
- package/styles/breadcrumb/icons/_bootstrap5.3.scss +23 -0
- package/styles/breadcrumb/icons/_fluent2.scss +23 -0
- package/styles/breadcrumb/icons/_fusionnew.scss +23 -0
- package/styles/breadcrumb/icons/_material3-dark.scss +1 -0
- package/styles/breadcrumb/icons/_material3.scss +12 -0
- package/styles/breadcrumb/material-dark.css +1 -1
- package/styles/breadcrumb/material.css +1 -1
- package/styles/breadcrumb/material3-dark.scss +4 -0
- package/styles/breadcrumb/material3.scss +4 -0
- package/styles/breadcrumb/tailwind-dark.css +1 -1
- package/styles/breadcrumb/tailwind.css +1 -1
- package/styles/carousel/_bds-definition.scss +20 -0
- package/styles/carousel/_bootstrap5.3-definition.scss +20 -0
- package/styles/carousel/_fluent2-definition.scss +23 -0
- package/styles/carousel/_fusionnew-definition.scss +20 -0
- package/styles/carousel/_material3-dark-definition.scss +1 -0
- package/styles/carousel/_material3-definition.scss +21 -0
- package/styles/carousel/fluent2.scss +4 -0
- package/styles/carousel/icons/_bds.scss +30 -0
- package/styles/carousel/icons/_bootstrap5.3.scss +30 -0
- package/styles/carousel/icons/_fluent2.scss +30 -0
- package/styles/carousel/icons/_fusionnew.scss +30 -0
- package/styles/carousel/icons/_material3-dark.scss +1 -0
- package/styles/carousel/icons/_material3.scss +30 -0
- package/styles/carousel/material3-dark.scss +4 -0
- package/styles/carousel/material3.scss +4 -0
- package/styles/context-menu/_bds-definition.scss +68 -0
- package/styles/context-menu/_bigger.scss +96 -0
- package/styles/context-menu/_bootstrap5.3-definition.scss +52 -0
- package/styles/context-menu/_fluent2-definition.scss +52 -0
- package/styles/context-menu/_fusionnew-definition.scss +51 -0
- package/styles/context-menu/_material3-dark-definition.scss +1 -0
- package/styles/context-menu/_material3-definition.scss +51 -0
- package/styles/context-menu/fluent2.scss +4 -0
- package/styles/context-menu/icons/_bds.scss +31 -0
- package/styles/context-menu/icons/_bootstrap5.3.scss +31 -0
- package/styles/context-menu/icons/_fluent2.scss +31 -0
- package/styles/context-menu/icons/_fusionnew.scss +31 -0
- package/styles/context-menu/icons/_material3-dark.scss +1 -0
- package/styles/context-menu/icons/_material3.scss +31 -0
- package/styles/context-menu/material3-dark.scss +4 -0
- package/styles/context-menu/material3.scss +4 -0
- package/styles/fabric-dark.css +1 -1
- package/styles/fabric.css +1 -1
- package/styles/fluent-dark.css +1 -1
- package/styles/fluent.css +1 -1
- package/styles/fluent2.scss +34 -0
- package/styles/h-scroll/_bds-definition.scss +83 -0
- package/styles/h-scroll/_bigger.scss +39 -0
- package/styles/h-scroll/_bootstrap5.3-definition.scss +83 -0
- package/styles/h-scroll/_fluent2-definition.scss +83 -0
- package/styles/h-scroll/_fusionnew-definition.scss +83 -0
- package/styles/h-scroll/_material3-dark-definition.scss +1 -0
- package/styles/h-scroll/_material3-definition.scss +83 -0
- package/styles/h-scroll/fluent2.scss +4 -0
- package/styles/h-scroll/icons/_bds.scss +49 -0
- package/styles/h-scroll/icons/_bootstrap5.3.scss +49 -0
- package/styles/h-scroll/icons/_fluent2.scss +49 -0
- package/styles/h-scroll/icons/_fusionnew.scss +49 -0
- package/styles/h-scroll/icons/_material3-dark.scss +1 -0
- package/styles/h-scroll/icons/_material3.scss +49 -0
- package/styles/h-scroll/material3-dark.scss +4 -0
- package/styles/h-scroll/material3.scss +4 -0
- package/styles/highcontrast-light.css +1 -1
- package/styles/highcontrast.css +1 -1
- package/styles/material-dark.css +1 -1
- package/styles/material.css +1 -1
- package/styles/material3-dark.scss +34 -0
- package/styles/material3.scss +34 -0
- package/styles/menu/_bds-definition.scss +65 -0
- package/styles/menu/_bigger.scss +355 -0
- package/styles/menu/_bootstrap5.3-definition.scss +66 -0
- package/styles/menu/_fluent2-definition.scss +67 -0
- package/styles/menu/_fusionnew-definition.scss +66 -0
- package/styles/menu/_material3-dark-definition.scss +1 -0
- package/styles/menu/_material3-definition.scss +66 -0
- package/styles/menu/fluent2.scss +7 -0
- package/styles/menu/icons/_bds.scss +104 -0
- package/styles/menu/icons/_bootstrap5.3.scss +104 -0
- package/styles/menu/icons/_fluent2.scss +104 -0
- package/styles/menu/icons/_fusionnew.scss +104 -0
- package/styles/menu/icons/_material3-dark.scss +1 -0
- package/styles/menu/icons/_material3.scss +104 -0
- package/styles/menu/material3-dark.scss +7 -0
- package/styles/menu/material3.scss +7 -0
- package/styles/pager/_all.scss +2 -0
- package/styles/pager/_bds-definition.scss +152 -0
- package/styles/pager/_bigger.scss +311 -0
- package/styles/pager/_bootstrap-dark-definition.scss +151 -0
- package/styles/pager/_bootstrap-definition.scss +151 -0
- package/styles/pager/_bootstrap4-definition.scss +151 -0
- package/styles/pager/_bootstrap5-definition.scss +166 -0
- package/styles/pager/_bootstrap5.3-definition.scss +166 -0
- package/styles/pager/_fabric-dark-definition.scss +149 -0
- package/styles/pager/_fabric-definition.scss +149 -0
- package/styles/pager/_fluent-definition.scss +153 -0
- package/styles/pager/_fluent2-definition.scss +152 -0
- package/styles/pager/_fusionnew-definition.scss +166 -0
- package/styles/pager/_highcontrast-definition.scss +149 -0
- package/styles/pager/_highcontrast-light-definition.scss +149 -0
- package/styles/pager/_layout.scss +742 -0
- package/styles/pager/_material-dark-definition.scss +150 -0
- package/styles/pager/_material-definition.scss +150 -0
- package/styles/pager/_material3-definition.scss +166 -0
- package/styles/pager/_tailwind-definition.scss +152 -0
- package/styles/pager/_theme.scss +189 -0
- package/styles/pager/icons/_bds.scss +50 -0
- package/styles/pager/icons/_bootstrap-dark.scss +50 -0
- package/styles/pager/icons/_bootstrap.scss +50 -0
- package/styles/pager/icons/_bootstrap4.scss +50 -0
- package/styles/pager/icons/_bootstrap5.3.scss +50 -0
- package/styles/pager/icons/_bootstrap5.scss +50 -0
- package/styles/pager/icons/_fabric-dark.scss +50 -0
- package/styles/pager/icons/_fabric.scss +50 -0
- package/styles/pager/icons/_fluent.scss +50 -0
- package/styles/pager/icons/_fluent2.scss +50 -0
- package/styles/pager/icons/_fusionnew.scss +50 -0
- package/styles/pager/icons/_highcontrast-light.scss +50 -0
- package/styles/pager/icons/_highcontrast.scss +46 -0
- package/styles/pager/icons/_material-dark.scss +50 -0
- package/styles/pager/icons/_material.scss +46 -0
- package/styles/pager/icons/_material3.scss +50 -0
- package/styles/pager/icons/_tailwind.scss +50 -0
- package/styles/sidebar/_bds-definition.scss +53 -0
- package/styles/sidebar/_bootstrap5.3-definition.scss +6 -0
- package/styles/sidebar/_fluent2-definition.scss +8 -0
- package/styles/sidebar/_fusionnew-definition.scss +6 -0
- package/styles/sidebar/_material3-dark-definition.scss +1 -0
- package/styles/sidebar/_material3-definition.scss +4 -0
- package/styles/sidebar/fluent2.scss +3 -0
- package/styles/sidebar/material3-dark.scss +3 -0
- package/styles/sidebar/material3.scss +3 -0
- package/styles/stepper/_all.scss +2 -0
- package/styles/stepper/_bds-definition.scss +72 -0
- package/styles/stepper/_bigger.scss +53 -0
- package/styles/stepper/_bootstrap-dark-definition.scss +72 -0
- package/styles/stepper/_bootstrap-definition.scss +72 -0
- package/styles/stepper/_bootstrap4-definition.scss +72 -0
- package/styles/stepper/_bootstrap5-definition.scss +73 -0
- package/styles/stepper/_bootstrap5.3-definition.scss +72 -0
- package/styles/stepper/_fabric-dark-definition.scss +72 -0
- package/styles/stepper/_fabric-definition.scss +72 -0
- package/styles/stepper/_fluent-definition.scss +72 -0
- package/styles/stepper/_fluent2-definition.scss +72 -0
- package/styles/stepper/_fusionnew-definition.scss +72 -0
- package/styles/stepper/_highcontrast-definition.scss +72 -0
- package/styles/stepper/_highcontrast-light-definition.scss +72 -0
- package/styles/stepper/_layout.scss +431 -0
- package/styles/stepper/_material-dark-definition.scss +72 -0
- package/styles/stepper/_material-definition.scss +72 -0
- package/styles/stepper/_material3-definition.scss +72 -0
- package/styles/stepper/_tailwind-definition.scss +72 -0
- package/styles/stepper/_theme.scss +195 -0
- package/styles/stepper/icons/_bds.scss +5 -0
- package/styles/stepper/icons/_bootstrap-dark.scss +5 -0
- package/styles/stepper/icons/_bootstrap.scss +5 -0
- package/styles/stepper/icons/_bootstrap4.scss +5 -0
- package/styles/stepper/icons/_bootstrap5.3.scss +5 -0
- package/styles/stepper/icons/_bootstrap5.scss +5 -0
- package/styles/stepper/icons/_fabric-dark.scss +5 -0
- package/styles/stepper/icons/_fabric.scss +5 -0
- package/styles/stepper/icons/_fluent.scss +5 -0
- package/styles/stepper/icons/_fluent2.scss +5 -0
- package/styles/stepper/icons/_fusionnew.scss +5 -0
- package/styles/stepper/icons/_highcontrast-light.scss +5 -0
- package/styles/stepper/icons/_highcontrast.scss +5 -0
- package/styles/stepper/icons/_material-dark.scss +5 -0
- package/styles/stepper/icons/_material.scss +5 -0
- package/styles/stepper/icons/_material3.scss +5 -0
- package/styles/stepper/icons/_tailwind.scss +5 -0
- package/styles/tab/_bds-definition.scss +661 -0
- package/styles/tab/_bigger.scss +1270 -0
- package/styles/tab/_bootstrap5.3-definition.scss +636 -0
- package/styles/tab/_fluent2-definition.scss +667 -0
- package/styles/tab/_fusionnew-definition.scss +634 -0
- package/styles/tab/_material3-dark-definition.scss +1 -0
- package/styles/tab/_material3-definition.scss +636 -0
- package/styles/tab/fluent2.scss +5 -0
- package/styles/tab/icons/_bds.scss +90 -0
- package/styles/tab/icons/_bootstrap5.3.scss +90 -0
- package/styles/tab/icons/_fluent2.scss +98 -0
- package/styles/tab/icons/_fusionnew.scss +90 -0
- package/styles/tab/icons/_material3-dark.scss +1 -0
- package/styles/tab/icons/_material3.scss +90 -0
- package/styles/tab/material3-dark.scss +5 -0
- package/styles/tab/material3.scss +5 -0
- package/styles/tailwind-dark.css +1 -1
- package/styles/tailwind.css +1 -1
- package/styles/toolbar/_bds-definition.scss +197 -0
- package/styles/toolbar/_bigger.scss +309 -0
- package/styles/toolbar/_bootstrap5.3-definition.scss +198 -0
- package/styles/toolbar/_fluent2-definition.scss +198 -0
- package/styles/toolbar/_fusionnew-definition.scss +198 -0
- package/styles/toolbar/_material3-dark-definition.scss +1 -0
- package/styles/toolbar/_material3-definition.scss +199 -0
- package/styles/toolbar/fluent2.scss +6 -0
- package/styles/toolbar/icons/_bds.scss +14 -0
- package/styles/toolbar/icons/_bootstrap5.3.scss +14 -0
- package/styles/toolbar/icons/_fluent2.scss +14 -0
- package/styles/toolbar/icons/_fusionnew.scss +14 -0
- package/styles/toolbar/icons/_material3-dark.scss +1 -0
- package/styles/toolbar/icons/_material3.scss +14 -0
- package/styles/toolbar/material3-dark.scss +6 -0
- package/styles/toolbar/material3.scss +6 -0
- package/styles/treeview/_bds-definition.scss +132 -0
- package/styles/treeview/_bigger.scss +393 -0
- package/styles/treeview/_bootstrap5.3-definition.scss +119 -0
- package/styles/treeview/_fluent2-definition.scss +128 -0
- package/styles/treeview/_fusionnew-definition.scss +120 -0
- package/styles/treeview/_material3-dark-definition.scss +1 -0
- package/styles/treeview/_material3-definition.scss +110 -0
- package/styles/treeview/fluent2.scss +4 -0
- package/styles/treeview/icons/_bds.scss +44 -0
- package/styles/treeview/icons/_bootstrap5.3.scss +44 -0
- package/styles/treeview/icons/_fluent2.scss +44 -0
- package/styles/treeview/icons/_fusionnew.scss +44 -0
- package/styles/treeview/icons/_material3-dark.scss +1 -0
- package/styles/treeview/icons/_material3.scss +44 -0
- package/styles/treeview/material3-dark.scss +4 -0
- package/styles/treeview/material3.scss +4 -0
- package/styles/v-scroll/_bds-definition.scss +49 -0
- package/styles/v-scroll/_bigger.scss +28 -0
- package/styles/v-scroll/_bootstrap5.3-definition.scss +49 -0
- package/styles/v-scroll/_fluent2-definition.scss +49 -0
- package/styles/v-scroll/_fusionnew-definition.scss +49 -0
- package/styles/v-scroll/_material3-dark-definition.scss +1 -0
- package/styles/v-scroll/_material3-definition.scss +49 -0
- package/styles/v-scroll/fluent2.scss +4 -0
- package/styles/v-scroll/icons/_bds.scss +27 -0
- package/styles/v-scroll/icons/_bootstrap5.3.scss +27 -0
- package/styles/v-scroll/icons/_fluent2.scss +27 -0
- package/styles/v-scroll/icons/_fusionnew.scss +27 -0
- package/styles/v-scroll/icons/_material3-dark.scss +1 -0
- package/styles/v-scroll/icons/_material3.scss +27 -0
- package/styles/v-scroll/material3-dark.scss +4 -0
- package/styles/v-scroll/material3.scss +4 -0
- package/tslint.json +111 -111
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -63
- package/.github/PULL_REQUEST_TEMPLATE/feature.md +0 -39
- package/accordion.d.ts +0 -4
- package/accordion.js +0 -4
- package/breadcrumb.d.ts +0 -4
- package/breadcrumb.js +0 -4
- package/carousel.d.ts +0 -4
- package/carousel.js +0 -4
- package/common.d.ts +0 -4
- package/common.js +0 -4
- package/context-menu.d.ts +0 -4
- package/context-menu.js +0 -4
- package/helpers/e2e/accordionHelper.d.ts +0 -56
- package/helpers/e2e/contextmenuHelper.d.ts +0 -37
- package/helpers/e2e/index.d.ts +0 -7
- package/helpers/e2e/menuHelper.d.ts +0 -37
- package/helpers/e2e/sidebarHelper.d.ts +0 -94
- package/helpers/e2e/tabHelper.d.ts +0 -60
- package/helpers/e2e/toolbarHelper.d.ts +0 -60
- package/helpers/e2e/treeview.d.ts +0 -50
- package/index.d.ts +0 -4
- package/index.js +0 -4
- package/menu.d.ts +0 -4
- package/menu.js +0 -4
- package/sidebar.d.ts +0 -4
- package/sidebar.js +0 -4
- package/src/accordion/accordion.d.ts +0 -440
- package/src/accordion/index.d.ts +0 -5
- package/src/breadcrumb/breadcrumb.d.ts +0 -255
- package/src/breadcrumb/index.d.ts +0 -5
- package/src/carousel/carousel.d.ts +0 -338
- package/src/carousel/index.d.ts +0 -3
- package/src/common/h-scroll.d.ts +0 -105
- package/src/common/index.d.ts +0 -9
- package/src/common/menu-base.d.ts +0 -526
- package/src/common/menu-scroll.d.ts +0 -29
- package/src/common/v-scroll.d.ts +0 -106
- package/src/context-menu/index.d.ts +0 -5
- package/src/index.d.ts +0 -13
- package/src/menu/index.d.ts +0 -5
- package/src/menu/menu.d.ts +0 -121
- package/src/sidebar/index.d.ts +0 -5
- package/src/sidebar/sidebar.d.ts +0 -321
- package/src/tab/index.d.ts +0 -5
- package/src/tab/tab.d.ts +0 -650
- package/src/toolbar/index.d.ts +0 -5
- package/src/toolbar/toolbar.d.ts +0 -470
- package/src/treeview/index.d.ts +0 -5
- package/src/treeview/treeview.d.ts +0 -1256
- package/tab.d.ts +0 -4
- package/tab.js +0 -4
- package/toolbar.d.ts +0 -4
- package/toolbar.js +0 -4
- package/treeview.d.ts +0 -4
- package/treeview.js +0 -4
|
@@ -1,88 +1,134 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
* ```
|
|
12
|
-
*
|
|
13
|
-
* <
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
*
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
*
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
*
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
* @
|
|
85
|
-
* @
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
|
|
1
|
+
/* eslint-disable @typescript-eslint/triple-slash-reference */
|
|
2
|
+
/// <reference path='../common/menu-base-model.d.ts'/>
|
|
3
|
+
import { attributes, getUniqueID, Collection, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';
|
|
4
|
+
import { getZindexPartial } from '@syncfusion/ej2-popups';
|
|
5
|
+
import { ContextMenuModel } from './context-menu-model';
|
|
6
|
+
import { MenuBase, MenuItem } from '../common/menu-base';
|
|
7
|
+
import { MenuItemModel } from './../common/menu-base-model';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The ContextMenu is a graphical user interface that appears on the user right click/touch hold operation.
|
|
11
|
+
* ```html
|
|
12
|
+
* <div id = 'target'></div>
|
|
13
|
+
* <ul id = 'contextmenu'></ul>
|
|
14
|
+
* ```
|
|
15
|
+
* ```typescript
|
|
16
|
+
* <script>
|
|
17
|
+
* var contextMenuObj = new ContextMenu({items: [{ text: 'Cut' }, { text: 'Copy' },{ text: 'Paste' }], target: '#target'});
|
|
18
|
+
* </script>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
@NotifyPropertyChanges
|
|
22
|
+
export class ContextMenu extends MenuBase implements INotifyPropertyChanged {
|
|
23
|
+
/**
|
|
24
|
+
* Constructor for creating the widget.
|
|
25
|
+
*
|
|
26
|
+
* @private
|
|
27
|
+
* @param {ContextMenuModel} options - Specifies the context menu model
|
|
28
|
+
* @param {string} element - Specifies the element
|
|
29
|
+
*/
|
|
30
|
+
constructor(options?: ContextMenuModel, element?: string | HTMLUListElement) {
|
|
31
|
+
super(options, <HTMLUListElement | string>element);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Specifies target element selector in which the ContextMenu should be opened.
|
|
36
|
+
*
|
|
37
|
+
* @default ''
|
|
38
|
+
*/
|
|
39
|
+
@Property('')
|
|
40
|
+
public target: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Specifies the filter selector for elements inside the target in that the context menu will be opened.
|
|
44
|
+
*
|
|
45
|
+
* @default ''
|
|
46
|
+
*/
|
|
47
|
+
@Property('')
|
|
48
|
+
public filter: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Specifies menu items with its properties which will be rendered as ContextMenu.
|
|
52
|
+
*
|
|
53
|
+
* @default []
|
|
54
|
+
* @aspType object
|
|
55
|
+
* @blazorType object
|
|
56
|
+
*/
|
|
57
|
+
@Collection<MenuItemModel>([], MenuItem)
|
|
58
|
+
public items: MenuItemModel[];
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* For internal use only - prerender processing.
|
|
62
|
+
*
|
|
63
|
+
* @private
|
|
64
|
+
* @returns {void}
|
|
65
|
+
*/
|
|
66
|
+
protected preRender(): void {
|
|
67
|
+
this.isMenu = false;
|
|
68
|
+
this.element.id = this.element.id || getUniqueID('ej2-contextmenu');
|
|
69
|
+
super.preRender();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
protected initialize(): void {
|
|
73
|
+
super.initialize();
|
|
74
|
+
attributes(this.element, <{ [key: string]: string }>{ 'role': 'menubar', 'tabindex': '0' });
|
|
75
|
+
this.element.style.zIndex = getZindexPartial(this.element).toString();
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* This method is used to open the ContextMenu in specified position.
|
|
80
|
+
*
|
|
81
|
+
* @param {number} top - To specify ContextMenu vertical positioning.
|
|
82
|
+
* @param {number} left - To specify ContextMenu horizontal positioning.
|
|
83
|
+
* @param {HTMLElement} target - To calculate z-index for ContextMenu based upon the specified target.
|
|
84
|
+
* @function open
|
|
85
|
+
* @returns {void}
|
|
86
|
+
*/
|
|
87
|
+
public open(top: number, left: number, target?: HTMLElement): void {
|
|
88
|
+
super.openMenu(null, null, top, left, null, target);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Closes the ContextMenu if it is opened.
|
|
93
|
+
*
|
|
94
|
+
* @function close
|
|
95
|
+
* @returns {void}
|
|
96
|
+
*/
|
|
97
|
+
public close(): void {
|
|
98
|
+
super.closeMenu();
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Called internally if any of the property value changed.
|
|
103
|
+
*
|
|
104
|
+
* @private
|
|
105
|
+
* @param {ContextMenuModel} newProp - Specifies new properties
|
|
106
|
+
* @param {ContextMenuModel} oldProp - Specifies old properties
|
|
107
|
+
* @returns {void}
|
|
108
|
+
*/
|
|
109
|
+
public onPropertyChanged(newProp: ContextMenuModel, oldProp: ContextMenuModel): void {
|
|
110
|
+
super.onPropertyChanged(newProp, oldProp);
|
|
111
|
+
for (const prop of Object.keys(newProp)) {
|
|
112
|
+
switch (prop) {
|
|
113
|
+
case 'filter':
|
|
114
|
+
this.close();
|
|
115
|
+
this.filter = newProp.filter;
|
|
116
|
+
break;
|
|
117
|
+
case 'target':
|
|
118
|
+
this.unWireEvents(oldProp.target);
|
|
119
|
+
this.wireEvents();
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Get module name.
|
|
127
|
+
*
|
|
128
|
+
* @returns {string} - Module Name
|
|
129
|
+
* @private
|
|
130
|
+
*/
|
|
131
|
+
protected getModuleName(): string {
|
|
132
|
+
return 'contextmenu';
|
|
133
|
+
}
|
|
134
|
+
}
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/triple-slash-reference */
|
|
2
|
+
/// <reference path='../common/menu-base-model.d.ts'/>
|
|
3
|
+
import { attributes, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';
|
|
4
|
+
import { Browser, Complex, getUniqueID, SanitizeHtmlHelper } from '@syncfusion/ej2-base';
|
|
5
|
+
import { MenuBase, FieldSettings } from '../common/menu-base';
|
|
6
|
+
import { MenuItemModel, FieldSettingsModel } from '../common/menu-base-model';
|
|
7
|
+
import { MenuModel } from './menu-model';
|
|
8
|
+
|
|
9
|
+
const VMENU: string = 'e-vertical';
|
|
10
|
+
|
|
11
|
+
const SCROLLABLE: string = 'e-scrollable';
|
|
12
|
+
|
|
13
|
+
const HAMBURGER: string = 'e-hamburger';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Specifies the option for orientation mode of Menu. By default, component rendered in Horizontal orientation mode.
|
|
17
|
+
*/
|
|
18
|
+
export type Orientation = 'Horizontal' | 'Vertical';
|
|
19
|
+
|
|
20
|
+
type objColl = { [key: string]: Object }[];
|
|
21
|
+
type obj = { [key: string]: Object };
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* The Menu is a graphical user interface that serve as navigation headers for your application or site.
|
|
25
|
+
* ```html
|
|
26
|
+
* <ul id = 'menu'></ul>
|
|
27
|
+
* ```
|
|
28
|
+
* ```typescript
|
|
29
|
+
* <script>
|
|
30
|
+
* var menuObj = new Menu({ items: [{ text: 'Home' }, { text: 'Contact Us' },{ text: 'Login' }]});
|
|
31
|
+
* menuObj.appendTo("#menu");
|
|
32
|
+
* </script>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
@NotifyPropertyChanges
|
|
36
|
+
export class Menu extends MenuBase implements INotifyPropertyChanged {
|
|
37
|
+
private tempItems: objColl = [];
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Specified the orientation of Menu whether it can be horizontal or vertical.
|
|
41
|
+
*
|
|
42
|
+
* @default 'Horizontal'
|
|
43
|
+
*/
|
|
44
|
+
@Property('Horizontal')
|
|
45
|
+
public orientation: Orientation;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Specifies target element to open/close Menu while click in Hamburger mode.
|
|
49
|
+
*
|
|
50
|
+
* @default ''
|
|
51
|
+
*/
|
|
52
|
+
@Property('')
|
|
53
|
+
public target: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Specifies the template for Menu item.
|
|
57
|
+
*
|
|
58
|
+
* @default null
|
|
59
|
+
*/
|
|
60
|
+
@Property(null)
|
|
61
|
+
public template: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Specifies whether to enable / disable the scrollable option in Menu.
|
|
65
|
+
*
|
|
66
|
+
* @default false
|
|
67
|
+
*/
|
|
68
|
+
@Property(false)
|
|
69
|
+
public enableScrolling: boolean;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Specifies whether to enable / disable the hamburger mode in Menu.
|
|
73
|
+
*
|
|
74
|
+
* @default false
|
|
75
|
+
*/
|
|
76
|
+
@Property(false)
|
|
77
|
+
public hamburgerMode: boolean;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Specifies the title text for hamburger mode in Menu.
|
|
81
|
+
*
|
|
82
|
+
* @default 'Menu'
|
|
83
|
+
*/
|
|
84
|
+
@Property('Menu')
|
|
85
|
+
public title: string;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Defines whether to allow the cross-scripting site or not.
|
|
89
|
+
*
|
|
90
|
+
* @default false
|
|
91
|
+
*/
|
|
92
|
+
@Property(false)
|
|
93
|
+
public enableHtmlSanitizer: boolean;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Specifies mapping fields from the dataSource.
|
|
97
|
+
*
|
|
98
|
+
* @default { itemId: "id", text: "text", parentId: "parentId", iconCss: "iconCss", url: "url", separator: "separator",
|
|
99
|
+
* children: "items" }
|
|
100
|
+
*/
|
|
101
|
+
// eslint:disable-next-line
|
|
102
|
+
@Complex<FieldSettingsModel>({ itemId: 'id', text: 'text', parentId: 'parentId', iconCss: 'iconCss', url: 'url', separator: 'separator', children: 'items' }, FieldSettings)
|
|
103
|
+
public fields: FieldSettingsModel;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Constructor for creating the component.
|
|
107
|
+
*
|
|
108
|
+
* @private
|
|
109
|
+
* @param {MenuModel} options - Specifies the menu model
|
|
110
|
+
* @param {string} element - Specifies the element
|
|
111
|
+
*/
|
|
112
|
+
constructor(options?: MenuModel, element?: string | HTMLUListElement) {
|
|
113
|
+
super(options, <HTMLUListElement | string>element);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Get module name.
|
|
118
|
+
*
|
|
119
|
+
* @private
|
|
120
|
+
* @returns {string} - Module Name
|
|
121
|
+
*/
|
|
122
|
+
protected getModuleName(): string {
|
|
123
|
+
return 'menu';
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* For internal use only - prerender processing.
|
|
128
|
+
*
|
|
129
|
+
* @private
|
|
130
|
+
* @returns {void}
|
|
131
|
+
*/
|
|
132
|
+
protected preRender(): void {
|
|
133
|
+
this.isMenu = true;
|
|
134
|
+
this.element.id = this.element.id || getUniqueID('ej2-menu');
|
|
135
|
+
if (this.template) {
|
|
136
|
+
try {
|
|
137
|
+
if (document.querySelectorAll(this.template).length) {
|
|
138
|
+
this.template = document.querySelector(this.template).innerHTML.trim();
|
|
139
|
+
this.clearChanges();
|
|
140
|
+
}
|
|
141
|
+
} catch (e) {
|
|
142
|
+
/* action on catch */
|
|
143
|
+
}
|
|
144
|
+
} else {
|
|
145
|
+
this.updateMenuItems(this.items);
|
|
146
|
+
}
|
|
147
|
+
super.preRender();
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
protected initialize(): void {
|
|
151
|
+
super.initialize();
|
|
152
|
+
attributes(this.element, <{ [key: string]: string }>{ 'role': 'menubar', 'tabindex': '0' });
|
|
153
|
+
if (this.orientation === 'Vertical') {
|
|
154
|
+
this.element.classList.add(VMENU);
|
|
155
|
+
if (this.hamburgerMode && !this.target) {
|
|
156
|
+
this.element.previousElementSibling.classList.add(VMENU);
|
|
157
|
+
}
|
|
158
|
+
this.element.setAttribute('aria-orientation', 'vertical');
|
|
159
|
+
} else {
|
|
160
|
+
if (Browser.isDevice && !this.enableScrolling) {
|
|
161
|
+
this.element.parentElement.classList.add(SCROLLABLE);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
if (this.hamburgerMode) {
|
|
165
|
+
this.element.parentElement.classList.add(HAMBURGER);
|
|
166
|
+
if (this.orientation === 'Horizontal') {
|
|
167
|
+
this.element.classList.add('e-hide-menu');
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
private updateMenuItems(items: MenuItemModel[]): void {
|
|
173
|
+
this.tempItems = items as objColl;
|
|
174
|
+
this.items = [];
|
|
175
|
+
this.tempItems.map(this.createMenuItems, this);
|
|
176
|
+
this.setProperties({ items: this.items }, true);
|
|
177
|
+
this.tempItems = [];
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Called internally if any of the property value changed.
|
|
182
|
+
*
|
|
183
|
+
* @private
|
|
184
|
+
* @param {MenuModel} newProp - Specifies the new properties.
|
|
185
|
+
* @param {MenuModel} oldProp - Specifies the old properties.
|
|
186
|
+
* @returns {void}
|
|
187
|
+
*/
|
|
188
|
+
public onPropertyChanged(newProp: MenuModel, oldProp: MenuModel): void {
|
|
189
|
+
for (const prop of Object.keys(newProp)) {
|
|
190
|
+
switch (prop) {
|
|
191
|
+
case 'orientation':
|
|
192
|
+
if (newProp.orientation === 'Vertical') {
|
|
193
|
+
this.element.classList.add(VMENU);
|
|
194
|
+
if (this.hamburgerMode) {
|
|
195
|
+
if (!this.target) { this.element.previousElementSibling.classList.add(VMENU); }
|
|
196
|
+
this.element.classList.remove('e-hide-menu');
|
|
197
|
+
}
|
|
198
|
+
this.element.setAttribute('aria-orientation', 'vertical');
|
|
199
|
+
} else {
|
|
200
|
+
this.element.classList.remove(VMENU);
|
|
201
|
+
if (this.hamburgerMode) {
|
|
202
|
+
if (!this.target) { this.element.previousElementSibling.classList.remove(VMENU); }
|
|
203
|
+
this.element.classList.add('e-hide-menu');
|
|
204
|
+
}
|
|
205
|
+
this.element.removeAttribute('aria-orientation');
|
|
206
|
+
}
|
|
207
|
+
break;
|
|
208
|
+
case 'items':
|
|
209
|
+
if (!Object.keys(oldProp.items).length) { this.updateMenuItems(newProp.items); }
|
|
210
|
+
break;
|
|
211
|
+
case 'hamburgerMode':
|
|
212
|
+
if (!this.element.previousElementSibling) {
|
|
213
|
+
super.createHeaderContainer();
|
|
214
|
+
}
|
|
215
|
+
if (newProp.hamburgerMode) {
|
|
216
|
+
this.element.parentElement.classList.add(HAMBURGER);
|
|
217
|
+
[].slice.call(this.element.getElementsByClassName('e-blankicon')).forEach((li: HTMLElement): void => {
|
|
218
|
+
li.style[this.enableRtl ? 'paddingRight' : 'paddingLeft'] = '';
|
|
219
|
+
});
|
|
220
|
+
} else {
|
|
221
|
+
this.element.parentElement.classList.remove(HAMBURGER);
|
|
222
|
+
if (this.orientation === 'Vertical') { this.setBlankIconStyle(this.element); }
|
|
223
|
+
}
|
|
224
|
+
if (this.orientation === 'Vertical') {
|
|
225
|
+
if (!this.target) { this.element.previousElementSibling.classList.add(VMENU); }
|
|
226
|
+
this.element.classList.remove('e-hide-menu');
|
|
227
|
+
} else {
|
|
228
|
+
if (this.target) {
|
|
229
|
+
this.element.previousElementSibling.classList.add(VMENU);
|
|
230
|
+
} else {
|
|
231
|
+
this.element.previousElementSibling.classList.remove(VMENU);
|
|
232
|
+
}
|
|
233
|
+
this.element.classList[newProp.hamburgerMode ? 'add' : 'remove']('e-hide-menu');
|
|
234
|
+
}
|
|
235
|
+
break;
|
|
236
|
+
case 'title':
|
|
237
|
+
if (this.hamburgerMode && this.element.previousElementSibling) {
|
|
238
|
+
newProp.title = (this.enableHtmlSanitizer) ? SanitizeHtmlHelper.sanitize(newProp.title) : newProp.title;
|
|
239
|
+
this.element.previousElementSibling.querySelector('.e-menu-title').innerHTML = newProp.title;
|
|
240
|
+
}
|
|
241
|
+
break;
|
|
242
|
+
case 'target':
|
|
243
|
+
if (this.hamburgerMode) {
|
|
244
|
+
this.unWireEvents(oldProp.target);
|
|
245
|
+
this.wireEvents();
|
|
246
|
+
if (this.orientation === 'Horizontal') {
|
|
247
|
+
if (!newProp.target) {
|
|
248
|
+
if (!this.element.previousElementSibling) {
|
|
249
|
+
super.createHeaderContainer();
|
|
250
|
+
}
|
|
251
|
+
this.element.previousElementSibling.classList.remove(VMENU);
|
|
252
|
+
} else {
|
|
253
|
+
this.element.previousElementSibling.classList.add(VMENU);
|
|
254
|
+
}
|
|
255
|
+
this.element.classList.add('e-hide-menu');
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
break;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
super.onPropertyChanged(newProp, oldProp);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
private createMenuItems(item: obj): void {
|
|
265
|
+
let idx: number[];
|
|
266
|
+
let i: number;
|
|
267
|
+
let items: MenuItemModel[] = this.items as objColl;
|
|
268
|
+
const pIdField: string = this.getField('parentId');
|
|
269
|
+
if (item[pIdField]) {
|
|
270
|
+
idx = this.getIndex(item[pIdField].toString(), true);
|
|
271
|
+
for (i = 0; i < idx.length; i++) {
|
|
272
|
+
if (!items[idx[i]].items) {
|
|
273
|
+
items[idx[i]].items = [];
|
|
274
|
+
}
|
|
275
|
+
items = items[idx[i]].items;
|
|
276
|
+
}
|
|
277
|
+
items.push(item);
|
|
278
|
+
} else {
|
|
279
|
+
(<MenuItemModel[]>this.items).push(item);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* This method is used to open the Menu in hamburger mode.
|
|
285
|
+
*
|
|
286
|
+
* @function open
|
|
287
|
+
* @returns {void}
|
|
288
|
+
*/
|
|
289
|
+
public open(): void {
|
|
290
|
+
super.openHamburgerMenu();
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Closes the Menu if it is opened in hamburger mode.
|
|
295
|
+
*
|
|
296
|
+
* @function close
|
|
297
|
+
* @returns {void}
|
|
298
|
+
*/
|
|
299
|
+
public close(): void {
|
|
300
|
+
super.closeHamburgerMenu();
|
|
301
|
+
}
|
|
302
|
+
}
|