Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@next-level-integration/menu

Package Overview
Dependencies
Maintainers
11
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@next-level-integration/menu

Menu dropdown angular component

  • 10.0.8-beta
  • latest
  • npm
  • Socket score

Version published
Maintainers
11
Created
Source

@next-level-integration/menu

Install:
npm install @next-level-integration/menu
Importing:
import { NliMenuModule } from '@next-level-integration/menu';
Add this to the styles:
.nli-primary {
color: mat-color($primary-color) !important;
}
.nli-accent {
color: mat-color($accent-color) !important;
}
.nli-warn {
color: mat-color($warn-color) !important;
}
.nli-primary-bg {
background-color: mat-color($primary-color) !important;
}
.nli-accent-bg {
background-color: mat-color($accent-color) !important;
}
.nli-warn-bg {
background-color: mat-color($warn-color) !important;
}
.nli-primary-border {
border-color: mat-color($primary-color) !important;
border-top-color: mat-color($primary-color) !important;
border-bottom-color: mat-color($primary-color) !important;
border-left-color: mat-color($primary-color) !important;
border-right-color: mat-color($primary-color) !important;
}
.nli-accent-border {
border-color: mat-color($accent-color) !important;
border-top-color: mat-color($accent-color) !important;
border-bottom-color: mat-color($accent-color) !important;
border-left-color: mat-color($accent-color) !important;
border-right-color: mat-color($accent-color) !important;
}
.nli-warn-border {
border-color: mat-color($warn-color) !important;
border-top-color: mat-color($warn-color) !important;
border-bottom-color: mat-color($warn-color) !important;
border-left-color: mat-color($warn-color) !important;
border-right-color: mat-color($warn-color) !important;
}

Usage

HTML
<nli-menu  [firstLineText]="'John Doe'" [secoundLineText]="'Sample User'">
    <nli-menu-item [text]="'Hello'" (click)="say('world')"></nli-menu-item>
    <nli-menu-item [icon]="'logout'" [text]="'Logout'" (click)="say('You want to logout?')" iconPath="../assets/home/logout.svg"></nli-menu-item>
</nli-menu>

Changelog:

  • 1.0.0 Initial version
  • 1.0.1 add isEventOnly option menu and menu item that disables highlight and text change on button + css corrections
  • 2.0.0 Moved from BrowserModule and BrowserAnimationsModule to CommonModule
  • 2.1.0 Added isProcessButton boolean ( makes the button a mat-stroked one )

Keywords

FAQs

Package last updated on 19 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc