{"id":27985981,"url":"https://github.com/ramiz4/ngx-multi-level-push-menu","last_synced_at":"2026-03-27T04:46:00.364Z","repository":{"id":26895214,"uuid":"110459749","full_name":"ramiz4/ngx-multi-level-push-menu","owner":"ramiz4","description":"Multi-level push menu is cross-browser compatible angular 6+ component allowing endless nesting of navigation elements.","archived":false,"fork":false,"pushed_at":"2025-09-10T01:35:05.000Z","size":3002,"stargazers_count":5,"open_issues_count":3,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-19T11:31:08.313Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ramiz4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-12T18:54:46.000Z","updated_at":"2025-07-28T20:40:35.000Z","dependencies_parsed_at":"2023-01-14T05:32:04.809Z","dependency_job_id":null,"html_url":"https://github.com/ramiz4/ngx-multi-level-push-menu","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/ramiz4/ngx-multi-level-push-menu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramiz4%2Fngx-multi-level-push-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramiz4%2Fngx-multi-level-push-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramiz4%2Fngx-multi-level-push-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramiz4%2Fngx-multi-level-push-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ramiz4","download_url":"https://codeload.github.com/ramiz4/ngx-multi-level-push-menu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ramiz4%2Fngx-multi-level-push-menu/sbom","scorecard":{"id":760777,"data":{"date":"2025-08-11","repo":{"name":"github.com/ramiz4/ngx-multi-level-push-menu","commit":"dbb344aacf1e22cfd5def77133ad337eb9d1efa3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/17 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/pr-validation.yml:1","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/version-bump.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":6,"reason":"dependency not pinned by hash detected -- score normalized to 6","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-validation.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/ramiz4/ngx-multi-level-push-menu/pr-validation.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-validation.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/ramiz4/ngx-multi-level-push-menu/pr-validation.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-validation.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/ramiz4/ngx-multi-level-push-menu/pr-validation.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-validation.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/ramiz4/ngx-multi-level-push-menu/pr-validation.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/ramiz4/ngx-multi-level-push-menu/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/ramiz4/ngx-multi-level-push-menu/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/version-bump.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/ramiz4/ngx-multi-level-push-menu/version-bump.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/version-bump.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/ramiz4/ngx-multi-level-push-menu/version-bump.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/version-bump.yml:108: update your workflow using https://app.stepsecurity.io/secureworkflow/ramiz4/ngx-multi-level-push-menu/version-bump.yml/master?enable=pin","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   4 out of   4 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.yml:9"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-jgmv-j7ww-jx2x","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T23:25:09.429Z","repository_id":26895214,"created_at":"2025-08-22T23:25:09.429Z","updated_at":"2025-08-22T23:25:09.429Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28069939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-08T07:01:57.189Z","updated_at":"2025-12-27T02:42:21.119Z","avatar_url":"https://github.com/ramiz4.png","language":"TypeScript","funding_links":[],"categories":["Third Party Components"],"sub_categories":["Router"],"readme":"# ngx-multi-level-push-menu\n\nA modern, accessible Angular component for responsive multi-level push menus with extensive customization options.\n\n\u003ca href=\"https://badge.fury.io/js/@ramiz4%2Fngx-multi-level-push-menu\"\u003e\u003cimg src=\"https://badge.fury.io/js/@ramiz4%2Fngx-multi-level-push-menu.svg\" alt=\"npm version\" height=\"18\"\u003e\u003c/a\u003e\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Features\n\n- Responsive multi-level push menu for Angular applications\n- Accessibility-enhanced with ARIA attributes and keyboard navigation\n- Endless nesting capability for navigation elements\n- Left-to-right and Right-to-left sliding directions\n- Customizable animation effects\n- Two menu modes: overlap and cover\n- Swipe gesture support (configurable for touch, desktop, or both)\n- Router integration\n- Comprehensive styling options\n- Flexible icon support - use SVG content directly or CSS classes from any icon library\n- Compatible with Angular 6+ through 19+\n\n## Installation\n\nInstall the package via npm:\n\n```bash\nnpm install @ramiz4/ngx-multi-level-push-menu --save\n```\n\n## Quick Start\n\n1. Import the module in your application:\n\n### For NgModule-based applications:\n\n```typescript\nimport { NgxMultiLevelPushMenuModule } from '@ramiz4/ngx-multi-level-push-menu';\n\n@NgModule({\n  imports: [\n    // ...other imports\n    NgxMultiLevelPushMenuModule.forRoot(),\n  ],\n  // ...\n})\nexport class AppModule {}\n```\n\n### For standalone applications (Angular 14+):\n\n```typescript\n// In app.config.ts or equivalent\nimport { ApplicationConfig } from '@angular/core';\nimport { provideMultiLevelPushMenu } from '@ramiz4/ngx-multi-level-push-menu';\n\nexport const appConfig: ApplicationConfig = {\n  providers: [\n    // ...other providers\n    provideMultiLevelPushMenu(),\n  ],\n};\n```\n\n```typescript\n// In your component\nimport { Component } from '@angular/core';\nimport { MultiLevelPushMenuComponent } from '@ramiz4/ngx-multi-level-push-menu';\n\n@Component({\n  // ...\n  standalone: true,\n  imports: [MultiLevelPushMenuComponent],\n})\nexport class AppComponent {\n  // ...\n}\n```\n\n2. Add the component to your template:\n\n```html\n\u003cramiz4-multi-level-push-menu [options]=\"options\"\u003e\n  \u003crouter-outlet\u003e\u003c/router-outlet\u003e\n\u003c/ramiz4-multi-level-push-menu\u003e\n```\n\n3. Define your menu structure in your component:\n\n**Option 1: Using SVG icons directly** (recommended for best performance and no external dependencies)\n\n```typescript\nimport { Component, OnInit } from '@angular/core';\nimport { MultiLevelPushMenuService, MultiLevelPushMenuOptions } from '@ramiz4/ngx-multi-level-push-menu';\n\n@Component({\n  selector: 'app-root',\n  templateUrl: './app.component.html',\n})\nexport class AppComponent implements OnInit {\n  options = new MultiLevelPushMenuOptions();\n\n  constructor(private menuService: MultiLevelPushMenuService) {}\n\n  ngOnInit() {\n    this.options.title = 'Company Name'; // Set menu title\n\n    // Menu items with SVG icons\n    this.options.menu = [\n      {\n        name: 'Home',\n        // SVG home icon\n        icon: '\u003csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"\u003e\u003cpath d=\"M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z\"/\u003e\u003c/svg\u003e',\n        link: 'home',\n      },\n      // ...more menu items with SVG icons\n    ];\n  }\n}\n```\n\n**Option 2: Using CSS classes from an icon library** (e.g., Font Awesome)\n\nFirst, include the icon library in your project. For Font Awesome, add to your main styles.scss:\n\n```scss\n/* Import Font Awesome from CDN */\n@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');\n\n/* Or if installed via npm */\n/* @import '~@fortawesome/fontawesome-free/css/all.min.css'; */\n```\n\nThen define your menu with CSS classes as icons:\n\n```typescript\nimport { Component, OnInit } from '@angular/core';\nimport { MultiLevelPushMenuService, MultiLevelPushMenuOptions } from '@ramiz4/ngx-multi-level-push-menu';\n\n@Component({\n  selector: 'app-root',\n  templateUrl: './app.component.html',\n})\nexport class AppComponent implements OnInit {\n  options = new MultiLevelPushMenuOptions();\n\n  constructor(private menuService: MultiLevelPushMenuService) {}\n\n  ngOnInit() {\n    this.options.title = 'Company Name'; // Set menu title\n\n    // Menu items with Font Awesome icons\n    this.options.menu = [\n      { name: 'Home', icon: 'fa fa-home', link: 'home' },\n      { name: 'About Us', icon: 'fa fa-user', link: 'about-us' },\n      {\n        name: 'Devices',\n        icon: 'fa fa-laptop',\n        items: [\n          {\n            name: 'Mobile Phones',\n            icon: 'fa fa-phone',\n            // ...submenu items\n          },\n          // ...more submenu items\n        ],\n      },\n      // ...more menu items\n    ];\n  }\n\n  collapseMenu() {\n    this.menuService.collapse();\n  }\n\n  expandMenu() {\n    this.menuService.expand();\n  }\n}\n```\n\n## Example Application\n\nSee the example application in the [`apps/multi-level-push-menu-example`](apps/multi-level-push-menu-example) folder for a complete usage example.\n\nTo run the example:\n\n```bash\nng serve multi-level-push-menu-example\n```\n\n## Documentation\n\nFor detailed API documentation, configuration options, and advanced usage, see the library README in the `libs/ngx-multi-level-push-menu` directory.\n\n## Development\n\nThis project was generated using [Nx](https://nx.dev).\n\n### Development server\n\nRun `ng serve multi-level-push-menu-example` for a dev server. Navigate to http://localhost:4200/.\n\n### Build the library\n\nRun `ng build ngx-multi-level-push-menu` to build the library.\n\n### Running unit tests\n\nRun `ng test ngx-multi-level-push-menu` to execute the unit tests via [Jest](https://jestjs.io).\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n### Development Workflow\n\n#### Semantic Commit Messages\n\nThis project uses semantic commit messages to automate version bumping:\n\n| Commit Prefix       | Description                | Version Bump       |\n| ------------------- | -------------------------- | ------------------ |\n| `feat: `            | A new feature              | Minor version bump |\n| `fix: `             | A bug fix                  | Patch version bump |\n| `docs: `            | Documentation only changes | Patch version bump |\n| `BREAKING CHANGE: ` | Breaking changes           | Major version bump |\n\n## License\n\nMIT © [Ramiz Loki](https://ramizloki.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framiz4%2Fngx-multi-level-push-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framiz4%2Fngx-multi-level-push-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framiz4%2Fngx-multi-level-push-menu/lists"}