Animated-Menu 介绍
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
Animated-Menu 官网
https://www.npmjs.com/package/nativescript-animated-menu
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。