Place the toolbar at the bottom of the page by using the toolbar-bottom class.
工具栏的方法
以下可用方法可与工具栏一起使用-
S.No
Toolbar Methods & Description
1
myApp.hideToolbar(toolbar)
It hides the specified toolbar.
2
myApp.showToolbar(toolbar)
It shows the specified toolbar.
3
view.hideToolbar()
It hides the specified toolbar in the view.
4
view.showToolbar()
It shows the specified toolbar in the view.
例
下面的示例演示了Framework7中工具栏布局的使用。
首先,我们将创建一个名为toolbar.html的HTML页面,如下所示-
Toolbar Layout
Toolbar Layout
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Suspendisse at nibh felis. Nunc consequat diam et tellus tempor gravida.
Donec hendrerit aliquet risus, ut tempor purus dictum sit amet. Aenean
sagittis interdum leo in molestie. Aliquam sodales in diam eu consectetur.
Sed posuere a orci id imperdiet.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Suspendisse at nibh felis. Nunc consequat diam et tellus tempor gravida.
Donec hendrerit aliquet risus, ut tempor purus dictum sit amet. Aenean
sagittis interdum leo in molestie. Aliquam sodales in diam eu consectetur.
Sed posuere a orci id imperdiet.