Skip to content

Commit b398ea1

Browse files
committed
Navbar: Add theming section and classes option
1 parent f4a59f7 commit b398ea1

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

entries/navbar.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,23 @@
7070

7171
<iframe src="/resources/navbar/example8.html" style="width:100%;height:90px;border:0px"></iframe>
7272

73+
74+
<xi:include href="../includes/widget-theming.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
75+
76+
<ul>
77+
<li>
78+
<code>ui-navbar</code>: Outermost container for navbar widget
79+
<ul>
80+
<li>
81+
<code>ui-navbar-row</code>: Rows of navbar systems. This represents every navbar row except first
82+
</li>
83+
<li>
84+
<code>ui-navbar-row-n</code>: (n+1)th row of navbar system except first row
85+
</li>
86+
</ul>
87+
</li>
88+
</ul>
89+
7390
<h3>Icons in navbars</h3>
7491
<p>Icons can be added to navbar items by adding the <code>data-icon</code> attribute specifying a standard mobile icon to each anchor. By default, icons are added above the text (<code>data-iconpos="top"</code>). The following examples add icons to a navbar in a footer.</p>
7592

@@ -109,6 +126,14 @@
109126
</longdesc>
110127
<added>1.0</added>
111128
<options>
129+
<option name="classes" type="Object">
130+
<default>{}</default>
131+
<xi:include href="../includes/classes-option-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
132+
<xi:include href="../includes/classes-option-example.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
133+
</option>
134+
<xi:include href="../includes/widget-option-defaults.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
135+
<xi:include href="../includes/widget-option-disabled.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
136+
112137
<xi:include href="../includes/widget-option-defaults.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
113138
<xi:include href="../includes/widget-option-disabled.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
114139
<option name="iconpos" default='"top"'>

0 commit comments

Comments
 (0)