2yy-ngx-menu 中文文档教程
NgxMenu
此项目是使用 Angular CLI 10.0.1 版生成的。
Installation
npm i 2yy-ngx-menu
Motivation
- Use [FocusKeyManager]() with your own styles. (Fully customizable)
Usage
- Wrap your menu items with
lib-ngx-menu
. - 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>
您可以自由自定义按钮样式。
License
更多
你可能也喜欢
- 6thman-shared 中文文档教程
- 701i-random-messages 中文文档教程
- @010webdev/react-prerender 中文文档教程
- @180hbtech/angular-prepare-others-languages 中文文档教程
- @1inch/1inch-solidity-utils 中文文档教程
- @4a/alisms 中文文档教程
- @4everland/cluster-cli 中文文档教程
- @4sellers/ngx-datatable 中文文档教程
- @7scientists/7s 中文文档教程
- @__amansingh/websearch 中文文档教程