0.0.1 • Published 4 years ago

2yy-ngx-menu v0.0.1

Weekly downloads
32
License
MIT
Repository
github
Last release
4 years ago

NgxMenu

Test Maintainability Test Coverage

This project was generated with Angular CLI version 10.0.1.

Installation

npm i 2yy-ngx-menu

Motivation

Usage

  1. Wrap your menu items with lib-ngx-menu.
  2. Add libNgxMenuItem directive to your menu items.

Example

<lib-ngx-menu>
  <button #button1 libNgxMenuItem (focusReceived)="lastFocusedButtonNumber = 1">Button 1</button>
  <button libNgxMenuItem (focusReceived)="lastFocusedButtonNumber = 2">Button 2</button>
  <button libNgxMenuItem (focusReceived)="lastFocusedButtonNumber = 3">Button 3</button>
  <button libNgxMenuItem (focusReceived)="lastFocusedButtonNumber = 4">Button 4</button>
  <button libNgxMenuItem (focusReceived)="lastFocusedButtonNumber = 5">Button 5</button>
</lib-ngx-menu>

Your can customize there buttons style freely.

License

MIT License