ui_bibz 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -13
- data/.yardoc/checksums +19 -19
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile.lock +4 -1
- data/README.md +46 -45
- data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +2 -2
- data/doc/UiBibz/Concerns/Models/Searchable.html +2 -2
- data/doc/UiBibz/Concerns/Models.html +2 -2
- data/doc/UiBibz/Concerns.html +2 -2
- data/doc/UiBibz/Helpers/MetaHelper.html +7 -6
- data/doc/UiBibz/Helpers/UiCoreHelper.html +14 -14
- data/doc/UiBibz/Helpers/UiUxHelper.html +4 -4
- data/doc/UiBibz/Helpers/UtilsHelper.html +2 -2
- data/doc/UiBibz/Helpers.html +2 -2
- data/doc/UiBibz/Rails/Engine.html +2 -2
- data/doc/UiBibz/Rails.html +2 -2
- data/doc/UiBibz/Ui/Base.html +2 -2
- data/doc/UiBibz/Ui/Core/Alert.html +26 -23
- data/doc/UiBibz/Ui/Core/Bar.html +21 -18
- data/doc/UiBibz/Ui/Core/Breadcrumb.html +22 -20
- data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +23 -21
- data/doc/UiBibz/Ui/Core/Button.html +28 -24
- data/doc/UiBibz/Ui/Core/ButtonDropdown.html +29 -26
- data/doc/UiBibz/Ui/Core/ButtonGroup.html +27 -24
- data/doc/UiBibz/Ui/Core/ButtonLink.html +29 -25
- data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +29 -26
- data/doc/UiBibz/Ui/Core/Col.html +23 -20
- data/doc/UiBibz/Ui/Core/Component.html +30 -28
- data/doc/UiBibz/Ui/Core/Dropdown.html +27 -24
- data/doc/UiBibz/Ui/Core/DropdownDivider.html +3 -3
- data/doc/UiBibz/Ui/Core/DropdownHeader.html +20 -18
- data/doc/UiBibz/Ui/Core/DropdownLink.html +27 -24
- data/doc/UiBibz/Ui/Core/Glyph.html +26 -23
- data/doc/UiBibz/Ui/Core/Jumbotron.html +21 -18
- data/doc/UiBibz/Ui/Core/Label.html +27 -23
- data/doc/UiBibz/Ui/Core/List.html +31 -28
- data/doc/UiBibz/Ui/Core/ListGroup.html +24 -22
- data/doc/UiBibz/Ui/Core/Modal.html +26 -24
- data/doc/UiBibz/Ui/Core/ModalBody.html +16 -14
- data/doc/UiBibz/Ui/Core/ModalFooter.html +16 -14
- data/doc/UiBibz/Ui/Core/ModalHeader.html +17 -15
- data/doc/UiBibz/Ui/Core/Nav.html +20 -18
- data/doc/UiBibz/Ui/Core/NavDropdown.html +23 -21
- data/doc/UiBibz/Ui/Core/NavLink.html +22 -20
- data/doc/UiBibz/Ui/Core/Navbar.html +29 -27
- data/doc/UiBibz/Ui/Core/NavbarForm.html +22 -19
- data/doc/UiBibz/Ui/Core/NavbarNav.html +17 -16
- data/doc/UiBibz/Ui/Core/NavbarText.html +16 -15
- data/doc/UiBibz/Ui/Core/Panel.html +27 -23
- data/doc/UiBibz/Ui/Core/ProgressBar.html +23 -20
- data/doc/UiBibz/Ui/Core/Row.html +13 -11
- data/doc/UiBibz/Ui/Core/Stars.html +23 -19
- data/doc/UiBibz/Ui/Core.html +3 -3
- data/doc/UiBibz/Ui/Ux/Actionable.html +6 -6
- data/doc/UiBibz/Ui/Ux/Actions.html +2 -2
- data/doc/UiBibz/Ui/Ux/Column.html +2 -2
- data/doc/UiBibz/Ui/Ux/Columns.html +2 -2
- data/doc/UiBibz/Ui/Ux/Grid.html +23 -21
- data/doc/UiBibz/Ui/Ux/Paginable.html +5 -5
- data/doc/UiBibz/Ui/Ux/Searchable.html +4 -4
- data/doc/UiBibz/Ui/Ux/Sortable.html +2 -2
- data/doc/UiBibz/Ui/Ux/Store.html +2 -2
- data/doc/UiBibz/Ui/Ux/Table.html +36 -34
- data/doc/UiBibz/Ui/Ux/TablePagination.html +22 -16
- data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +17 -15
- data/doc/UiBibz/Ui/Ux/TablePanel.html +58 -50
- data/doc/UiBibz/Ui/Ux/TableSearchField.html +4 -4
- data/doc/UiBibz/Ui/Ux.html +3 -3
- data/doc/UiBibz/Ui.html +2 -2
- data/doc/UiBibz/Utils/Internationalization.html +2 -2
- data/doc/UiBibz/Utils.html +2 -2
- data/doc/UiBibz.html +3 -3
- data/doc/_index.html +6 -6
- data/doc/file.README.html +734 -623
- data/doc/index.html +734 -623
- data/doc/method_list.html +227 -227
- data/doc/top-level-namespace.html +2 -2
- data/lib/ui_bibz/ui/ux/table/extensions/paginable.rb +2 -2
- data/lib/ui_bibz/ui/ux/table/table_pagination.rb +3 -1
- data/lib/ui_bibz/ui/ux/table/table_pagination_per_page.rb +10 -2
- data/lib/ui_bibz/ui/ux/table/table_panel.rb +24 -6
- data/lib/ui_bibz/ui/ux/table/table_search_field.rb +9 -1
- data/lib/ui_bibz/version.rb +1 -1
- metadata +39 -39
@@ -108,37 +108,39 @@
|
|
108
108
|
|
109
109
|
<p>Create DropdownHeader</p>
|
110
110
|
|
111
|
-
<p>This element is an extend of UiBibz::Ui::Core::Component. Use
|
112
|
-
content to add a separator</p>
|
111
|
+
<p>This element is an extend of UiBibz::Ui::Core::Component. Use '—'
|
112
|
+
in content to add a separator</p>
|
113
113
|
|
114
|
-
<h4>Attributes</h4>
|
114
|
+
<h4 id="label-Attributes">Attributes</h4>
|
115
115
|
<ul><li>
|
116
|
-
<p><
|
116
|
+
<p><code>content</code> - Content of element</p>
|
117
117
|
</li><li>
|
118
|
-
<p><
|
118
|
+
<p><code>options</code> - Options of element</p>
|
119
119
|
</li><li>
|
120
|
-
<p><
|
120
|
+
<p><code>html_options</code> - Html Options of element</p>
|
121
121
|
</li></ul>
|
122
122
|
|
123
|
-
<h4>Options</h4>
|
123
|
+
<h4 id="label-Options">Options</h4>
|
124
124
|
|
125
|
-
<p>You can add HTML attributes using the <
|
125
|
+
<p>You can add HTML attributes using the <code>html_options</code>.</p>
|
126
126
|
|
127
|
-
<h4>Signatures</h4>
|
127
|
+
<h4 id="label-Signatures">Signatures</h4>
|
128
128
|
|
129
129
|
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>DropdownHeader</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
130
130
|
|
131
131
|
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>DropdownHeader</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
132
132
|
<span class='id identifier rubyid_content'>content</span>
|
133
|
-
<span class='kw'>end</span
|
133
|
+
<span class='kw'>end</span>
|
134
|
+
</code></pre>
|
134
135
|
|
135
|
-
<h4>Examples</h4>
|
136
|
+
<h4 id="label-Examples">Examples</h4>
|
136
137
|
|
137
|
-
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>DropdownHeader</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'
|
138
|
+
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>DropdownHeader</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Home</span><span class='tstring_end'>'</span></span><span class='comma'>,</span><span class='lbrace'>{</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>test</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
138
139
|
|
139
|
-
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>DropdownHeader</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'
|
140
|
-
<span class='tstring'><span class='tstring_beg'
|
141
|
-
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span
|
140
|
+
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>DropdownHeader</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>test</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
141
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Home</span><span class='tstring_end'>'</span></span>
|
142
|
+
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
143
|
+
</code></pre>
|
142
144
|
|
143
145
|
|
144
146
|
</div>
|
@@ -332,7 +334,7 @@ content to add a separator</p>
|
|
332
334
|
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/dropdown/components/dropdown_header.rb', line 42</span>
|
333
335
|
|
334
336
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
335
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:li</span><span class='comma'>,</span> <span class='ivar'>@content</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'
|
337
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:li</span><span class='comma'>,</span> <span class='ivar'>@content</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>dropdown-header</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>role:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>presentation</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='rparen'>)</span>
|
336
338
|
<span class='kw'>end</span></pre>
|
337
339
|
</td>
|
338
340
|
</tr>
|
@@ -344,9 +346,9 @@ content to add a separator</p>
|
|
344
346
|
</div>
|
345
347
|
|
346
348
|
<div id="footer">
|
347
|
-
Generated on
|
349
|
+
Generated on Mon Oct 19 15:25:17 2015 by
|
348
350
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
349
|
-
0.8.7.6 (ruby-
|
351
|
+
0.8.7.6 (ruby-2.2.3).
|
350
352
|
</div>
|
351
353
|
|
352
354
|
</body>
|
@@ -110,51 +110,54 @@
|
|
110
110
|
|
111
111
|
<p>This element is an extend of UiBibz::Ui::Core::Component.</p>
|
112
112
|
|
113
|
-
<h4>Attributes</h4>
|
113
|
+
<h4 id="label-Attributes">Attributes</h4>
|
114
114
|
<ul><li>
|
115
|
-
<p><
|
115
|
+
<p><code>content</code> - Content of element</p>
|
116
116
|
</li><li>
|
117
|
-
<p><
|
117
|
+
<p><code>options</code> - Options of element</p>
|
118
118
|
</li><li>
|
119
|
-
<p><
|
119
|
+
<p><code>html_options</code> - Html Options of element</p>
|
120
120
|
</li></ul>
|
121
121
|
|
122
|
-
<h4>Options</h4>
|
122
|
+
<h4 id="label-Options">Options</h4>
|
123
123
|
|
124
|
-
<p>You can add HTML attributes using the <
|
125
|
-
arguments in options attribute:</p>
|
124
|
+
<p>You can add HTML attributes using the <code>html_options</code>. You can
|
125
|
+
pass arguments in options attribute:</p>
|
126
126
|
<ul><li>
|
127
|
-
<p><
|
127
|
+
<p><code>status</code> - State of élement with symbol value:
|
128
|
+
(<code>:active</code>)</p>
|
128
129
|
</li><li>
|
129
|
-
<p><
|
130
|
+
<p><code>url</code> - String</p>
|
130
131
|
</li><li>
|
131
|
-
<p><
|
132
|
+
<p><code>glyph</code> - Add glyph with name or hash options</p>
|
132
133
|
<ul><li>
|
133
|
-
<p><
|
134
|
+
<p><code>name</code> - String</p>
|
134
135
|
</li><li>
|
135
|
-
<p><
|
136
|
+
<p><code>size</code> - Integer</p>
|
136
137
|
</li><li>
|
137
|
-
<p><
|
138
|
+
<p><code>type</code> - Symbol</p>
|
138
139
|
</li></ul>
|
139
140
|
</li><li>
|
140
|
-
<p><
|
141
|
+
<p><code>link_html_options</code> - Hash</p>
|
141
142
|
</li></ul>
|
142
143
|
|
143
|
-
<h4>Signatures</h4>
|
144
|
+
<h4 id="label-Signatures">Signatures</h4>
|
144
145
|
|
145
146
|
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>DropdownLink</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
146
147
|
|
147
148
|
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>DropdownLink</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
148
149
|
<span class='id identifier rubyid_content'>content</span>
|
149
|
-
<span class='kw'>end</span
|
150
|
+
<span class='kw'>end</span>
|
151
|
+
</code></pre>
|
150
152
|
|
151
|
-
<h4>Examples</h4>
|
153
|
+
<h4 id="label-Examples">Examples</h4>
|
152
154
|
|
153
|
-
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>DropdownLink</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'
|
155
|
+
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>DropdownLink</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Home</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>glyph:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>home</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>status:</span> <span class='symbol'>:active</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#home</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>link_html_options:</span> <span class='lbrace'>{</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>link1</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span><span class='lbrace'>{</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>test</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
154
156
|
|
155
|
-
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>DropdownLink</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>glyph:</span> <span class='lbrace'>{</span> <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'
|
156
|
-
<span class='tstring'><span class='tstring_beg'
|
157
|
-
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span
|
157
|
+
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>DropdownLink</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>glyph:</span> <span class='lbrace'>{</span> <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>eye</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>size:</span> <span class='int'>3</span> <span class='rbrace'>}</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#home</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>test</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
158
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Home</span><span class='tstring_end'>'</span></span>
|
159
|
+
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
160
|
+
</code></pre>
|
158
161
|
|
159
162
|
|
160
163
|
</div>
|
@@ -350,7 +353,7 @@ arguments in options attribute:</p>
|
|
350
353
|
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb', line 50</span>
|
351
354
|
|
352
355
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
353
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:li</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'
|
356
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:li</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>role:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>presentation</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
354
357
|
<span class='id identifier rubyid_link_to'>link_to</span> <span class='id identifier rubyid_glyph_and_content_html'>glyph_and_content_html</span><span class='comma'>,</span> <span class='id identifier rubyid_link_url'>link_url</span><span class='comma'>,</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:link_html_options</span><span class='rbracket'>]</span>
|
355
358
|
<span class='kw'>end</span>
|
356
359
|
<span class='kw'>end</span></pre>
|
@@ -364,9 +367,9 @@ arguments in options attribute:</p>
|
|
364
367
|
</div>
|
365
368
|
|
366
369
|
<div id="footer">
|
367
|
-
Generated on
|
370
|
+
Generated on Mon Oct 19 15:25:17 2015 by
|
368
371
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
369
|
-
0.8.7.6 (ruby-
|
372
|
+
0.8.7.6 (ruby-2.2.3).
|
370
373
|
</div>
|
371
374
|
|
372
375
|
</body>
|
@@ -110,31 +110,31 @@
|
|
110
110
|
|
111
111
|
<p>This element is an extend of UiBibz::Ui::Core::Component.</p>
|
112
112
|
|
113
|
-
<h4>Attributes</h4>
|
113
|
+
<h4 id="label-Attributes">Attributes</h4>
|
114
114
|
<ul><li>
|
115
|
-
<p><
|
115
|
+
<p><code>content</code> - Content of element</p>
|
116
116
|
</li><li>
|
117
|
-
<p><
|
117
|
+
<p><code>options</code> - Options of element</p>
|
118
118
|
</li><li>
|
119
|
-
<p><
|
119
|
+
<p><code>html_options</code> - Html Options of element</p>
|
120
120
|
</li></ul>
|
121
121
|
|
122
|
-
<h4>Options</h4>
|
122
|
+
<h4 id="label-Options">Options</h4>
|
123
123
|
|
124
|
-
<p>You can add HTML attributes using the <
|
125
|
-
arguments in options attribute:</p>
|
124
|
+
<p>You can add HTML attributes using the <code>html_options</code>. You can
|
125
|
+
pass arguments in options attribute:</p>
|
126
126
|
<ul><li>
|
127
|
-
<p><
|
127
|
+
<p><code>name</code> - String</p>
|
128
128
|
</li><li>
|
129
|
-
<p><
|
129
|
+
<p><code>size</code> - Integer</p>
|
130
130
|
</li><li>
|
131
|
-
<p><
|
131
|
+
<p><code>type</code> - Symbol</p>
|
132
132
|
</li><li>
|
133
|
-
<p><
|
134
|
-
<
|
133
|
+
<p><code>state</code> - Symbol (<code>:default</code>, <code>:primary</code>,
|
134
|
+
<code>:info</code>, <code>:warning</code>, <code>:danger</code>)</p>
|
135
135
|
</li></ul>
|
136
136
|
|
137
|
-
<h4>Signatures</h4>
|
137
|
+
<h4 id="label-Signatures">Signatures</h4>
|
138
138
|
|
139
139
|
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Glyph</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
140
140
|
<span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
@@ -145,21 +145,23 @@ arguments in options attribute:</p>
|
|
145
145
|
|
146
146
|
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Glyph</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
147
147
|
|
148
|
-
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Glyph</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span
|
148
|
+
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Glyph</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
149
|
+
</code></pre>
|
149
150
|
|
150
|
-
<h4>Exemples</h4>
|
151
|
+
<h4 id="label-Exemples">Exemples</h4>
|
151
152
|
|
152
|
-
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Glyph</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'
|
153
|
+
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Glyph</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>eye</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
153
154
|
|
154
155
|
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Glyph</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
155
156
|
<span class='id identifier rubyid_name'>name</span>
|
156
157
|
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
157
158
|
|
158
|
-
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Glyph</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'
|
159
|
+
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Glyph</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>eye</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='int'>3</span><span class='comma'>,</span> <span class='label'>type:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fw</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
159
160
|
|
160
|
-
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Glyph</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'
|
161
|
+
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Glyph</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>eye</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>size:</span> <span class='int'>3</span><span class='comma'>,</span> <span class='label'>type:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fw</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
162
|
+
</code></pre>
|
161
163
|
|
162
|
-
<h4>Helper</h4>
|
164
|
+
<h4 id="label-Helper">Helper</h4>
|
163
165
|
|
164
166
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_glyph'>glyph</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
165
167
|
|
@@ -167,7 +169,8 @@ arguments in options attribute:</p>
|
|
167
169
|
|
168
170
|
<span class='id identifier rubyid_glyph'>glyph</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
169
171
|
<span class='id identifier rubyid_name'>name</span>
|
170
|
-
<span class='kw'>end</span
|
172
|
+
<span class='kw'>end</span>
|
173
|
+
</code></pre>
|
171
174
|
|
172
175
|
|
173
176
|
</div>
|
@@ -361,7 +364,7 @@ arguments in options attribute:</p>
|
|
361
364
|
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/glyph.rb', line 65</span>
|
362
365
|
|
363
366
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
364
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:i</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'
|
367
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:i</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='id identifier rubyid_classes'>classes</span><span class='rparen'>)</span>
|
365
368
|
<span class='kw'>end</span></pre>
|
366
369
|
</td>
|
367
370
|
</tr>
|
@@ -373,9 +376,9 @@ arguments in options attribute:</p>
|
|
373
376
|
</div>
|
374
377
|
|
375
378
|
<div id="footer">
|
376
|
-
Generated on
|
379
|
+
Generated on Mon Oct 19 15:25:14 2015 by
|
377
380
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
378
|
-
0.8.7.6 (ruby-
|
381
|
+
0.8.7.6 (ruby-2.2.3).
|
379
382
|
</div>
|
380
383
|
|
381
384
|
</body>
|
@@ -110,46 +110,49 @@
|
|
110
110
|
|
111
111
|
<p>This element is an extend of UiBibz::Ui::Core::Component.</p>
|
112
112
|
|
113
|
-
<h4>Attributes</h4>
|
113
|
+
<h4 id="label-Attributes">Attributes</h4>
|
114
114
|
<ul><li>
|
115
|
-
<p><
|
115
|
+
<p><code>content</code> - Content of element</p>
|
116
116
|
</li><li>
|
117
|
-
<p><
|
117
|
+
<p><code>options</code> - Options of element</p>
|
118
118
|
</li><li>
|
119
|
-
<p><
|
119
|
+
<p><code>html_options</code> - Html Options of element</p>
|
120
120
|
</li></ul>
|
121
121
|
|
122
|
-
<h4>Options</h4>
|
122
|
+
<h4 id="label-Options">Options</h4>
|
123
123
|
|
124
|
-
<p>You can add HTML attributes using the <
|
125
|
-
arguments in options attribute:</p>
|
124
|
+
<p>You can add HTML attributes using the <code>html_options</code>. You can
|
125
|
+
pass arguments in options attribute:</p>
|
126
126
|
<ul><li>
|
127
|
-
<p><
|
127
|
+
<p><code>full_with</code> - Boolean to render jumbotron in fullscreen</p>
|
128
128
|
</li></ul>
|
129
129
|
|
130
|
-
<h4>Signatures</h4>
|
130
|
+
<h4 id="label-Signatures">Signatures</h4>
|
131
131
|
|
132
132
|
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Jumbotron</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
133
133
|
|
134
134
|
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Jumbotron</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
135
135
|
<span class='id identifier rubyid_content'>content</span>
|
136
|
-
<span class='kw'>end</span
|
136
|
+
<span class='kw'>end</span>
|
137
|
+
</code></pre>
|
137
138
|
|
138
|
-
<h4>Examples</h4>
|
139
|
+
<h4 id="label-Examples">Examples</h4>
|
139
140
|
|
140
141
|
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Jumbotron</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='label'>full_width:</span> <span class='kw'>true</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
141
142
|
|
142
143
|
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Jumbotron</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
143
144
|
<span class='comment'>#content
|
144
|
-
</span><span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span
|
145
|
+
</span><span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
146
|
+
</code></pre>
|
145
147
|
|
146
|
-
<h4>Helper</h4>
|
148
|
+
<h4 id="label-Helper">Helper</h4>
|
147
149
|
|
148
150
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_jumbotron'>jumbotron</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span> <span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
149
151
|
|
150
152
|
<span class='id identifier rubyid_jumbotron'>jumbotron</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
151
153
|
<span class='id identifier rubyid_content'>content</span>
|
152
|
-
<span class='kw'>end</span
|
154
|
+
<span class='kw'>end</span>
|
155
|
+
</code></pre>
|
153
156
|
|
154
157
|
|
155
158
|
</div>
|
@@ -349,9 +352,9 @@ arguments in options attribute:</p>
|
|
349
352
|
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/jumbotron.rb', line 51</span>
|
350
353
|
|
351
354
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
352
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'
|
355
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>jumbotron</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='kw'>do</span>
|
353
356
|
<span class='kw'>if</span> <span class='id identifier rubyid_full_width'>full_width</span>
|
354
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='ivar'>@content</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'
|
357
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='ivar'>@content</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>container</span><span class='tstring_end'>'</span></span>
|
355
358
|
<span class='kw'>else</span>
|
356
359
|
<span class='ivar'>@content</span>
|
357
360
|
<span class='kw'>end</span>
|
@@ -367,9 +370,9 @@ arguments in options attribute:</p>
|
|
367
370
|
</div>
|
368
371
|
|
369
372
|
<div id="footer">
|
370
|
-
Generated on
|
373
|
+
Generated on Mon Oct 19 15:25:15 2015 by
|
371
374
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
372
|
-
0.8.7.6 (ruby-
|
375
|
+
0.8.7.6 (ruby-2.2.3).
|
373
376
|
</div>
|
374
377
|
|
375
378
|
</body>
|
@@ -109,58 +109,62 @@
|
|
109
109
|
<p>Create a label</p>
|
110
110
|
|
111
111
|
<p>This element is an extend of UiBibz::Ui::Core::Component. The helper use
|
112
|
-
|
112
|
+
'etiquette' method to avoid conflict with Rails.</p>
|
113
113
|
|
114
|
-
<h4>Attributes</h4>
|
114
|
+
<h4 id="label-Attributes">Attributes</h4>
|
115
115
|
<ul><li>
|
116
|
-
<p><
|
116
|
+
<p><code>content</code> - Content of element</p>
|
117
117
|
</li><li>
|
118
|
-
<p><
|
118
|
+
<p><code>options</code> - Options of element</p>
|
119
119
|
</li><li>
|
120
|
-
<p><
|
120
|
+
<p><code>html_options</code> - Html Options of element</p>
|
121
121
|
</li></ul>
|
122
122
|
|
123
|
-
<h4>Options</h4>
|
123
|
+
<h4 id="label-Options">Options</h4>
|
124
124
|
|
125
|
-
<p>You can add HTML attributes using the <
|
126
|
-
arguments in options attribute:</p>
|
125
|
+
<p>You can add HTML attributes using the <code>html_options</code>. You can
|
126
|
+
pass arguments in options attribute:</p>
|
127
127
|
<ul><li>
|
128
|
-
<p><
|
129
|
-
<
|
128
|
+
<p><code>state</code> - State of élement with symbol value:
|
129
|
+
(<code>:default</code>, <code>:primary</code>, <code>:info</code>,
|
130
|
+
<code>:warning</code>, <code>:danger</code>)</p>
|
130
131
|
</li><li>
|
131
|
-
<p><
|
132
|
+
<p><code>glyph</code> - Add glyph with name or hash options</p>
|
132
133
|
<ul><li>
|
133
|
-
<p><
|
134
|
+
<p><code>name</code> - String</p>
|
134
135
|
</li><li>
|
135
|
-
<p><
|
136
|
+
<p><code>size</code> - Integer</p>
|
136
137
|
</li><li>
|
137
|
-
<p><
|
138
|
+
<p><code>type</code> - Symbol</p>
|
138
139
|
</li></ul>
|
139
140
|
</li></ul>
|
140
141
|
|
141
|
-
<h4>Signatures</h4>
|
142
|
+
<h4 id="label-Signatures">Signatures</h4>
|
142
143
|
|
143
144
|
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Label</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
144
145
|
|
145
146
|
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Label</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
146
147
|
<span class='id identifier rubyid_content'>content</span>
|
147
|
-
<span class='kw'>end</span
|
148
|
+
<span class='kw'>end</span>
|
149
|
+
</code></pre>
|
148
150
|
|
149
|
-
<h4>Examples</h4>
|
151
|
+
<h4 id="label-Examples">Examples</h4>
|
150
152
|
|
151
153
|
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Label</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='label'>state:</span> <span class='symbol'>:success</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
152
154
|
|
153
155
|
<span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Label</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
154
156
|
<span class='comment'>#content
|
155
|
-
</span><span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span
|
157
|
+
</span><span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
158
|
+
</code></pre>
|
156
159
|
|
157
|
-
<h4>Helper</h4>
|
160
|
+
<h4 id="label-Helper">Helper</h4>
|
158
161
|
|
159
162
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_etiquette'>etiquette</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
160
163
|
|
161
164
|
<span class='id identifier rubyid_etiquette'>etiquette</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
162
165
|
<span class='id identifier rubyid_content'>content</span>
|
163
|
-
<span class='kw'>end</span
|
166
|
+
<span class='kw'>end</span>
|
167
|
+
</code></pre>
|
164
168
|
|
165
169
|
|
166
170
|
</div>
|
@@ -354,7 +358,7 @@ arguments in options attribute:</p>
|
|
354
358
|
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/label.rb', line 57</span>
|
355
359
|
|
356
360
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
357
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:span</span><span class='comma'>,</span> <span class='id identifier rubyid_glyph_and_content_html'>glyph_and_content_html</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'
|
361
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:span</span><span class='comma'>,</span> <span class='id identifier rubyid_glyph_and_content_html'>glyph_and_content_html</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>label</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
358
362
|
<span class='kw'>end</span></pre>
|
359
363
|
</td>
|
360
364
|
</tr>
|
@@ -366,9 +370,9 @@ arguments in options attribute:</p>
|
|
366
370
|
</div>
|
367
371
|
|
368
372
|
<div id="footer">
|
369
|
-
Generated on
|
373
|
+
Generated on Mon Oct 19 15:25:14 2015 by
|
370
374
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
371
|
-
0.8.7.6 (ruby-
|
375
|
+
0.8.7.6 (ruby-2.2.3).
|
372
376
|
</div>
|
373
377
|
|
374
378
|
</body>
|