-
Notifications
You must be signed in to change notification settings - Fork 2
f7_toolbar
Terry Wilson edited this page Sep 17, 2014
·
1 revision
This renders the container that holds a toolbar or tab bar for a page.
f7_toolbar options, &block
-
:class
- Optional, additional CSS classes -
:type
- Optional, styles the toolbar:-
:tabbar
- A tab bar with icons only. -
:tabbar_labels
- A tab bar with icons and labels.
-
Any other options are converted to html attributes.
<%= f7_toolbar do %>
<!-- Other Content -->
<% end %>
<div class="toolbar">
<div class="toolbar-inner">
<!-- Other Content -->
</div>
</div>
<%= f7_toolbar, :type => :tabbar do %>
<!-- Other Content -->
<% end %>
<div class="toolbar tabbar">
<div class="toolbar-inner">
<!-- Other Content -->
</div>
</div>
<%= f7_toolbar, :type => :tabbar_labels do %>
<!-- Other Content -->
<% end %>
<div class="toolbar tabbar tabbar-labels">
<div class="toolbar-inner">
<!-- Other Content -->
</div>
</div>