ui_bibz 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -110,41 +110,42 @@
|
|
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><
|
128
|
-
<
|
127
|
+
<p><code>status</code> - State of élement with symbol value:
|
128
|
+
(<code>:active</code>, <code>:disable</code>)</p>
|
129
129
|
</li><li>
|
130
|
-
<p><
|
130
|
+
<p><code>url</code></p>
|
131
131
|
</li><li>
|
132
|
-
<p><
|
132
|
+
<p><code>tap</code> - Boolean to add header and body</p>
|
133
133
|
</li><li>
|
134
|
-
<p><
|
135
|
-
<
|
134
|
+
<p><code>state</code> - State of élement with symbol value:
|
135
|
+
(<code>:default</code>, <code>:primary</code>, <code>:info</code>,
|
136
|
+
<code>:warning</code>, <code>:danger</code>)</p>
|
136
137
|
</li><li>
|
137
|
-
<p><
|
138
|
+
<p><code>glyph</code> - Add glyph with name or hash options</p>
|
138
139
|
<ul><li>
|
139
|
-
<p><
|
140
|
+
<p><code>name</code> - String</p>
|
140
141
|
</li><li>
|
141
|
-
<p><
|
142
|
+
<p><code>size</code> - Integer</p>
|
142
143
|
</li><li>
|
143
|
-
<p><
|
144
|
+
<p><code>type</code> - Symbol</p>
|
144
145
|
</li></ul>
|
145
146
|
</li></ul>
|
146
147
|
|
147
|
-
<h4>Signatures</h4>
|
148
|
+
<h4 id="label-Signatures">Signatures</h4>
|
148
149
|
|
149
150
|
<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'>List</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>tap:</span> <span class='kw'>true</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_l'>l</span><span class='op'>|</span>
|
150
151
|
<span class='id identifier rubyid_l'>l</span><span class='period'>.</span><span class='id identifier rubyid_header'>header</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> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
@@ -155,22 +156,24 @@ arguments in options attribute:</p>
|
|
155
156
|
|
156
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'>List</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</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='kw'>do</span>
|
157
158
|
<span class='id identifier rubyid_content'>content</span>
|
158
|
-
<span class='kw'>end</span
|
159
|
+
<span class='kw'>end</span>
|
160
|
+
</code></pre>
|
159
161
|
|
160
|
-
<h4>Examples</h4>
|
162
|
+
<h4 id="label-Examples">Examples</h4>
|
161
163
|
|
162
|
-
<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'>List</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'
|
164
|
+
<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'>List</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'>Test</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>state:</span> <span class='symbol'>:success</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#test</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
163
165
|
|
164
166
|
<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'>List</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>state:</span> <span class='symbol'>:primary</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
165
|
-
<span class='tstring'><span class='tstring_beg'
|
167
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Test 2</span><span class='tstring_end'>'</span></span>
|
166
168
|
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
167
169
|
|
168
170
|
<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'>List</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>tap:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>status:</span> <span class='symbol'>:active</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_l'>l</span><span class='op'>|</span>
|
169
|
-
<span class='id identifier rubyid_l'>l</span><span class='period'>.</span><span class='id identifier rubyid_header'>header</span> <span class='tstring'><span class='tstring_beg'
|
171
|
+
<span class='id identifier rubyid_l'>l</span><span class='period'>.</span><span class='id identifier rubyid_header'>header</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>My title</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>my-title</span><span class='tstring_end'>'</span></span>
|
170
172
|
<span class='id identifier rubyid_l'>l</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span> <span class='kw'>do</span>
|
171
|
-
<span class='tstring'><span class='tstring_beg'
|
173
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>My content</span><span class='tstring_end'>'</span></span>
|
172
174
|
<span class='kw'>end</span>
|
173
|
-
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span
|
175
|
+
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
176
|
+
</code></pre>
|
174
177
|
|
175
178
|
|
176
179
|
</div>
|
@@ -499,7 +502,7 @@ arguments in options attribute:</p>
|
|
499
502
|
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/components/list.rb', line 64</span>
|
500
503
|
|
501
504
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
502
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='id identifier rubyid_tag'>tag</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'
|
505
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='id identifier rubyid_tag'>tag</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'>list-group-item</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='kw'>do</span>
|
503
506
|
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_glyph_and_content_html'>glyph_and_content_html</span> <span class='kw'>if</span> <span class='ivar'>@content</span>
|
504
507
|
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_header_html'>header_html</span> <span class='kw'>if</span> <span class='ivar'>@body</span>
|
505
508
|
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_body_html'>body_html</span> <span class='kw'>if</span> <span class='ivar'>@body</span>
|
@@ -516,9 +519,9 @@ arguments in options attribute:</p>
|
|
516
519
|
</div>
|
517
520
|
|
518
521
|
<div id="footer">
|
519
|
-
Generated on
|
522
|
+
Generated on Mon Oct 19 15:25:15 2015 by
|
520
523
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
521
|
-
0.8.7.6 (ruby-
|
524
|
+
0.8.7.6 (ruby-2.2.3).
|
522
525
|
</div>
|
523
526
|
|
524
527
|
</body>
|
@@ -110,25 +110,25 @@
|
|
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><
|
128
|
-
<
|
127
|
+
<p><code>type</code> - Type of list (default: :list) (<code>:link</code>,
|
128
|
+
<code>:list</code>)</p>
|
129
129
|
</li></ul>
|
130
130
|
|
131
|
-
<h4>Signatures</h4>
|
131
|
+
<h4 id="label-Signatures">Signatures</h4>
|
132
132
|
|
133
133
|
<pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::ListGroup.new().tap |lg|
|
134
134
|
...
|
@@ -136,27 +136,28 @@ arguments in options attribute:</p>
|
|
136
136
|
...
|
137
137
|
end</code></pre>
|
138
138
|
|
139
|
-
<h4>Examples</h4>
|
139
|
+
<h4 id="label-Examples">Examples</h4>
|
140
140
|
|
141
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'>ListGroup</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_d'>d</span><span class='op'>|</span>
|
142
|
-
<span class='id identifier rubyid_d'>d</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span> <span class='tstring'><span class='tstring_beg'
|
143
|
-
<span class='id identifier rubyid_d'>d</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span> <span class='tstring'><span class='tstring_beg'
|
142
|
+
<span class='id identifier rubyid_d'>d</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Test</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>state:</span> <span class='symbol'>:success</span>
|
143
|
+
<span class='id identifier rubyid_d'>d</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Test2</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>state:</span> <span class='symbol'>:primary</span>
|
144
144
|
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
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'>ListGroup</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>type:</span> <span class='symbol'>:link</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_d'>d</span><span class='op'>|</span>
|
147
|
-
<span class='id identifier rubyid_d'>d</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span> <span class='tstring'><span class='tstring_beg'
|
147
|
+
<span class='id identifier rubyid_d'>d</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Test</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>state:</span> <span class='symbol'>:success</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#test</span><span class='tstring_end'>'</span></span>
|
148
148
|
<span class='id identifier rubyid_d'>d</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='label'>state:</span> <span class='symbol'>:primary</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
149
|
-
<span class='tstring'><span class='tstring_beg'
|
149
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Test 2</span><span class='tstring_end'>'</span></span>
|
150
150
|
<span class='kw'>end</span>
|
151
151
|
<span class='id identifier rubyid_d'>d</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='label'>tap:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>status:</span> <span class='symbol'>:active</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_l'>l</span><span class='op'>|</span>
|
152
|
-
<span class='id identifier rubyid_l'>l</span><span class='period'>.</span><span class='id identifier rubyid_header'>header</span> <span class='tstring'><span class='tstring_beg'
|
152
|
+
<span class='id identifier rubyid_l'>l</span><span class='period'>.</span><span class='id identifier rubyid_header'>header</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>My title</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>my-title</span><span class='tstring_end'>'</span></span>
|
153
153
|
<span class='id identifier rubyid_l'>l</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span> <span class='kw'>do</span>
|
154
|
-
<span class='tstring'><span class='tstring_beg'
|
154
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>My content</span><span class='tstring_end'>'</span></span>
|
155
155
|
<span class='kw'>end</span>
|
156
156
|
<span class='kw'>end</span>
|
157
|
-
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span
|
157
|
+
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
158
|
+
</code></pre>
|
158
159
|
|
159
|
-
<h4>Helper</h4>
|
160
|
+
<h4 id="label-Helper">Helper</h4>
|
160
161
|
|
161
162
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_list_group'>list_group</span><span class='lparen'>(</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>tap:</span> <span class='kw'>true</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> <span class='op'>|</span><span class='id identifier rubyid_l'>l</span><span class='op'>|</span>
|
162
163
|
<span class='id identifier rubyid_l'>l</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</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>
|
@@ -176,7 +177,8 @@ end</code></pre>
|
|
176
177
|
<span class='id identifier rubyid_content'>content</span>
|
177
178
|
<span class='kw'>end</span>
|
178
179
|
<span class='kw'>end</span>
|
179
|
-
<span class='kw'>end</span
|
180
|
+
<span class='kw'>end</span>
|
181
|
+
</code></pre>
|
180
182
|
|
181
183
|
|
182
184
|
</div>
|
@@ -463,9 +465,9 @@ end</code></pre>
|
|
463
465
|
</div>
|
464
466
|
|
465
467
|
<div id="footer">
|
466
|
-
Generated on
|
468
|
+
Generated on Mon Oct 19 15:25:15 2015 by
|
467
469
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
468
|
-
0.8.7.6 (ruby-
|
470
|
+
0.8.7.6 (ruby-2.2.3).
|
469
471
|
</div>
|
470
472
|
|
471
473
|
</body>
|
@@ -110,51 +110,53 @@
|
|
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
|
|
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'>Modal</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> <span class='op'>|</span><span class='id identifier rubyid_m'>m</span><span class='op'>|</span>
|
130
130
|
<span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_header'>header</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
131
131
|
<span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
132
132
|
<span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_footer'>footer</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</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">UiBibz::Ui::Core::Modal.new({glyph: { name:
|
138
|
-
m.header
|
139
|
-
m.body
|
138
|
+
<pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::Modal.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do |m|
|
139
|
+
m.header 'Title'
|
140
|
+
m.body 'Content'
|
140
141
|
m.footer do
|
141
|
-
button_link
|
142
|
+
button_link 'Ok', '#', class: :success
|
142
143
|
end
|
143
144
|
end.render</code></pre>
|
144
145
|
|
145
|
-
<h4>Helper</h4>
|
146
|
+
<h4 id="label-Helper">Helper</h4>
|
146
147
|
|
147
148
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_modal'>modal</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> <span class='op'>|</span><span class='id identifier rubyid_m'>m</span><span class='op'>|</span>
|
148
149
|
<span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_header'>header</span> <span class='kw'>do</span>
|
149
|
-
<span class='tstring'><span class='tstring_beg'
|
150
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Title</span><span class='tstring_end'>'</span></span>
|
150
151
|
<span class='kw'>end</span>
|
151
152
|
<span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span> <span class='kw'>do</span>
|
152
|
-
<span class='tstring'><span class='tstring_beg'
|
153
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Content</span><span class='tstring_end'>'</span></span>
|
153
154
|
<span class='kw'>end</span>
|
154
155
|
<span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_footer'>footer</span> <span class='kw'>do</span>
|
155
|
-
<span class='tstring'><span class='tstring_beg'
|
156
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Footer</span><span class='tstring_end'>'</span></span>
|
156
157
|
<span class='kw'>end</span>
|
157
|
-
<span class='kw'>end</span
|
158
|
+
<span class='kw'>end</span>
|
159
|
+
</code></pre>
|
158
160
|
|
159
161
|
|
160
162
|
</div>
|
@@ -512,9 +514,9 @@ end.render</code></pre>
|
|
512
514
|
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/modal/modal.rb', line 61</span>
|
513
515
|
|
514
516
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
515
|
-
<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='lbracket'>[</span><span class='tstring'><span class='tstring_beg'
|
516
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'
|
517
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'
|
517
|
+
<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='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>modal</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_effect'>effect</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
518
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>modal-dialog</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>role:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>document</span><span class='tstring_end'>'</span></span> <span class='kw'>do</span>
|
519
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>modal-content</span><span class='tstring_end'>'</span></span> <span class='kw'>do</span>
|
518
520
|
<span class='id identifier rubyid_concat'>concat</span> <span class='ivar'>@header</span>
|
519
521
|
<span class='id identifier rubyid_concat'>concat</span> <span class='ivar'>@body</span>
|
520
522
|
<span class='id identifier rubyid_concat'>concat</span> <span class='ivar'>@footer</span>
|
@@ -532,9 +534,9 @@ end.render</code></pre>
|
|
532
534
|
</div>
|
533
535
|
|
534
536
|
<div id="footer">
|
535
|
-
Generated on
|
537
|
+
Generated on Mon Oct 19 15:25:15 2015 by
|
536
538
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
537
|
-
0.8.7.6 (ruby-
|
539
|
+
0.8.7.6 (ruby-2.2.3).
|
538
540
|
</div>
|
539
541
|
|
540
542
|
</body>
|
@@ -108,35 +108,37 @@
|
|
108
108
|
|
109
109
|
<p>Create a modal body</p>
|
110
110
|
|
111
|
-
<h4>Attributes</h4>
|
111
|
+
<h4 id="label-Attributes">Attributes</h4>
|
112
112
|
<ul><li>
|
113
|
-
<p><
|
113
|
+
<p><code>content</code> - Content of element</p>
|
114
114
|
</li><li>
|
115
|
-
<p><
|
115
|
+
<p><code>options</code> - Options of element</p>
|
116
116
|
</li><li>
|
117
|
-
<p><
|
117
|
+
<p><code>html_options</code> - Html Options of element</p>
|
118
118
|
</li></ul>
|
119
119
|
|
120
|
-
<h4>Options</h4>
|
120
|
+
<h4 id="label-Options">Options</h4>
|
121
121
|
|
122
|
-
<p>You can add HTML attributes using the <
|
123
|
-
arguments in options attribute:</p>
|
122
|
+
<p>You can add HTML attributes using the <code>html_options</code>. You can
|
123
|
+
pass arguments in options attribute:</p>
|
124
124
|
|
125
|
-
<h4>Signatures</h4>
|
125
|
+
<h4 id="label-Signatures">Signatures</h4>
|
126
126
|
|
127
127
|
<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'>ModalBody</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>
|
128
128
|
|
129
129
|
<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'>ModalBody</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>
|
130
130
|
<span class='id identifier rubyid_content'>content</span>
|
131
|
-
<span class='kw'>end</span
|
131
|
+
<span class='kw'>end</span>
|
132
|
+
</code></pre>
|
132
133
|
|
133
|
-
<h4>Examples</h4>
|
134
|
+
<h4 id="label-Examples">Examples</h4>
|
134
135
|
|
135
136
|
<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'>ModalBody</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
136
137
|
|
137
138
|
<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'>ModalBody</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>do</span>
|
138
|
-
<span class='tstring'><span class='tstring_beg'
|
139
|
-
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span
|
139
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Exemple</span><span class='tstring_end'>'</span></span>
|
140
|
+
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
141
|
+
</code></pre>
|
140
142
|
|
141
143
|
|
142
144
|
</div>
|
@@ -342,9 +344,9 @@ arguments in options attribute:</p>
|
|
342
344
|
</div>
|
343
345
|
|
344
346
|
<div id="footer">
|
345
|
-
Generated on
|
347
|
+
Generated on Mon Oct 19 15:25:16 2015 by
|
346
348
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
347
|
-
0.8.7.6 (ruby-
|
349
|
+
0.8.7.6 (ruby-2.2.3).
|
348
350
|
</div>
|
349
351
|
|
350
352
|
</body>
|
@@ -108,35 +108,37 @@
|
|
108
108
|
|
109
109
|
<p>Create a modal footer</p>
|
110
110
|
|
111
|
-
<h4>Attributes</h4>
|
111
|
+
<h4 id="label-Attributes">Attributes</h4>
|
112
112
|
<ul><li>
|
113
|
-
<p><
|
113
|
+
<p><code>content</code> - Content of element</p>
|
114
114
|
</li><li>
|
115
|
-
<p><
|
115
|
+
<p><code>options</code> - Options of element</p>
|
116
116
|
</li><li>
|
117
|
-
<p><
|
117
|
+
<p><code>html_options</code> - Html Options of element</p>
|
118
118
|
</li></ul>
|
119
119
|
|
120
|
-
<h4>Options</h4>
|
120
|
+
<h4 id="label-Options">Options</h4>
|
121
121
|
|
122
|
-
<p>You can add HTML attributes using the <
|
123
|
-
arguments in options attribute:</p>
|
122
|
+
<p>You can add HTML attributes using the <code>html_options</code>. You can
|
123
|
+
pass arguments in options attribute:</p>
|
124
124
|
|
125
|
-
<h4>Signatures</h4>
|
125
|
+
<h4 id="label-Signatures">Signatures</h4>
|
126
126
|
|
127
127
|
<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'>ModalFooter</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>
|
128
128
|
|
129
129
|
<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'>ModalFooter</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>
|
130
130
|
<span class='id identifier rubyid_content'>content</span>
|
131
|
-
<span class='kw'>end</span
|
131
|
+
<span class='kw'>end</span>
|
132
|
+
</code></pre>
|
132
133
|
|
133
|
-
<h4>Examples</h4>
|
134
|
+
<h4 id="label-Examples">Examples</h4>
|
134
135
|
|
135
136
|
<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'>ModalFooter</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
136
137
|
|
137
138
|
<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'>ModalFooter</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>do</span>
|
138
|
-
<span class='tstring'><span class='tstring_beg'
|
139
|
-
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span
|
139
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Exemple</span><span class='tstring_end'>'</span></span>
|
140
|
+
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
141
|
+
</code></pre>
|
140
142
|
|
141
143
|
|
142
144
|
</div>
|
@@ -342,9 +344,9 @@ arguments in options attribute:</p>
|
|
342
344
|
</div>
|
343
345
|
|
344
346
|
<div id="footer">
|
345
|
-
Generated on
|
347
|
+
Generated on Mon Oct 19 15:25:16 2015 by
|
346
348
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
347
|
-
0.8.7.6 (ruby-
|
349
|
+
0.8.7.6 (ruby-2.2.3).
|
348
350
|
</div>
|
349
351
|
|
350
352
|
</body>
|
@@ -108,35 +108,37 @@
|
|
108
108
|
|
109
109
|
<p>Create a modal header</p>
|
110
110
|
|
111
|
-
<h4>Attributes</h4>
|
111
|
+
<h4 id="label-Attributes">Attributes</h4>
|
112
112
|
<ul><li>
|
113
|
-
<p><
|
113
|
+
<p><code>content</code> - Content of element</p>
|
114
114
|
</li><li>
|
115
|
-
<p><
|
115
|
+
<p><code>options</code> - Options of element</p>
|
116
116
|
</li><li>
|
117
|
-
<p><
|
117
|
+
<p><code>html_options</code> - Html Options of element</p>
|
118
118
|
</li></ul>
|
119
119
|
|
120
|
-
<h4>Options</h4>
|
120
|
+
<h4 id="label-Options">Options</h4>
|
121
121
|
|
122
|
-
<p>You can add HTML attributes using the <
|
123
|
-
arguments in options attribute:</p>
|
122
|
+
<p>You can add HTML attributes using the <code>html_options</code>. You can
|
123
|
+
pass arguments in options attribute:</p>
|
124
124
|
|
125
|
-
<h4>Signatures</h4>
|
125
|
+
<h4 id="label-Signatures">Signatures</h4>
|
126
126
|
|
127
127
|
<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'>ModalHeader</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>
|
128
128
|
|
129
129
|
<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'>CarHeader</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>
|
130
130
|
<span class='id identifier rubyid_content'>content</span>
|
131
|
-
<span class='kw'>end</span
|
131
|
+
<span class='kw'>end</span>
|
132
|
+
</code></pre>
|
132
133
|
|
133
|
-
<h4>Examples</h4>
|
134
|
+
<h4 id="label-Examples">Examples</h4>
|
134
135
|
|
135
136
|
<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'>ModalHeader</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
136
137
|
|
137
138
|
<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'>ModalHeader</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>do</span>
|
138
|
-
<span class='tstring'><span class='tstring_beg'
|
139
|
-
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span
|
139
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Exemple</span><span class='tstring_end'>'</span></span>
|
140
|
+
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
141
|
+
</code></pre>
|
140
142
|
|
141
143
|
|
142
144
|
</div>
|
@@ -335,7 +337,7 @@ arguments in options attribute:</p>
|
|
335
337
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
336
338
|
<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'>modal-header</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='kw'>do</span>
|
337
339
|
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_close_button_html'>close_button_html</span>
|
338
|
-
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:h4</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='label'>class:</span> <span class='tstring'><span class='tstring_beg'
|
340
|
+
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:h4</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='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>modal-title</span><span class='tstring_end'>'</span></span>
|
339
341
|
<span class='kw'>end</span>
|
340
342
|
<span class='kw'>end</span></pre>
|
341
343
|
</td>
|
@@ -348,9 +350,9 @@ arguments in options attribute:</p>
|
|
348
350
|
</div>
|
349
351
|
|
350
352
|
<div id="footer">
|
351
|
-
Generated on
|
353
|
+
Generated on Mon Oct 19 15:25:16 2015 by
|
352
354
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
353
|
-
0.8.7.6 (ruby-
|
355
|
+
0.8.7.6 (ruby-2.2.3).
|
354
356
|
</div>
|
355
357
|
|
356
358
|
</body>
|