Animated-MenuNativeScript 菜单插件
Animated-Menu 是 NativeScript 模块,可以添加一个动态菜单到 iOS 应用。Android 支持会基于这个项目添加一些 Android 动画。
在应用目录中运行 npm install nativescript-animated-menu --save:
.
├── app <------------------------------ run npm install from here
│ ├── app.css
│ ├── app.js
│ ├── bootstrap.js
│ ├── main-page.js
│ ├── main-page.xml
│ ├── node_modules
│ │ └── nativescript-animated-menu <-- The install will place the module's code here
│ │ └── ...
│ └── package.json <----------------- The install will register “nativescript-animated-menu” as a dependency here
│ └── tns_modules
│ └── ...
└── platforms
└── ios
使用
root-page <-------------this is the page that will host the animated menu element
└── animated-menu <------------the animated menu element will reference the menu page and main page (see below)
└── menu-page
└── main-page
评论
