【文件属性】:
文件名称:adapt-navigationDrawer:Adapt 学习框架扩展,为导航栏提供滑动抽屉
文件大小:61KB
文件格式:ZIP
更新时间:2021-06-23 21:10:40
JavaScript
#adapt-navigationDrawer
一个 Adapt 学习框架扩展,为导航栏提供滑动抽屉。
##安装
将adapt-navigationDrawer 文件夹复制到/src/extensions 中。
##用法
安装后,navigationDrawer 扩展可用于为导航栏提供滑动抽屉。
要设置导航栏,请将_navigationDrawer属性添加到 course.json:
"_navigationDrawer": {
"_display": {
"elementSelector": ".bottomnavigation",
"openFrom": "top",
"appendControlToSelector": ".bottomnavigation .navigation-inner"
}
}
##
【文件预览】:
adapt-navigationDrawer-master
----.travis.yml(35B)
----package.json(639B)
----less()
--------navigationDrawerItem.less(197B)
--------navigationDrawer.less(1KB)
----templates()
--------navigationDrawerControl.hbs(140B)
--------navigationDrawerItem.hbs(97B)
--------navigationDrawer.hbs(98B)
----.bowerrc(98B)
----tests()
--------SpecRunner.html(2KB)
--------test-main.js(1KB)
--------data()
--------spec()
--------libraries()
----js()
--------adapt-navigationDrawer.js(3KB)
--------adapt-navigationDrawerView.js(1003B)
----LICENSE(34KB)
----properties.schema(925B)
----example.json(568B)
----.gitignore(587B)
----karma.conf.js(1KB)
----README.md(1KB)
----bower.json(548B)