ui_bibz 1.1.7 → 1.2.0

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.
Files changed (96) hide show
  1. checksums.yaml +8 -8
  2. data/.yardoc/checksums +23 -19
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/Gemfile.lock +3 -16
  6. data/README.md +65 -42
  7. data/doc/UiBibz.html +2 -2
  8. data/doc/UiBibz/Concerns.html +1 -1
  9. data/doc/UiBibz/Concerns/Models.html +1 -1
  10. data/doc/UiBibz/Concerns/Models/Searchable.html +1 -1
  11. data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +4 -4
  12. data/doc/UiBibz/Helpers.html +1 -1
  13. data/doc/UiBibz/Helpers/MetaHelper.html +1 -1
  14. data/doc/UiBibz/Helpers/UiCoreHelper.html +127 -75
  15. data/doc/UiBibz/Helpers/UiUxHelper.html +1 -1
  16. data/doc/UiBibz/Helpers/UtilsHelper.html +1 -1
  17. data/doc/UiBibz/Rails.html +1 -1
  18. data/doc/UiBibz/Rails/Engine.html +1 -1
  19. data/doc/UiBibz/Ui.html +1 -1
  20. data/doc/UiBibz/Ui/Base.html +1 -1
  21. data/doc/UiBibz/Ui/Core.html +3 -3
  22. data/doc/UiBibz/Ui/Core/Alert.html +1 -1
  23. data/doc/UiBibz/Ui/Core/Bar.html +1 -1
  24. data/doc/UiBibz/Ui/Core/Breadcrumb.html +1 -1
  25. data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +1 -1
  26. data/doc/UiBibz/Ui/Core/Button.html +1 -1
  27. data/doc/UiBibz/Ui/Core/ButtonDropdown.html +1 -1
  28. data/doc/UiBibz/Ui/Core/ButtonGroup.html +1 -1
  29. data/doc/UiBibz/Ui/Core/ButtonLink.html +1 -1
  30. data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +1 -1
  31. data/doc/UiBibz/Ui/Core/Col.html +1 -1
  32. data/doc/UiBibz/Ui/Core/Component.html +2 -2
  33. data/doc/UiBibz/Ui/Core/Dropdown.html +1 -1
  34. data/doc/UiBibz/Ui/Core/DropdownDivider.html +1 -1
  35. data/doc/UiBibz/Ui/Core/DropdownHeader.html +1 -1
  36. data/doc/UiBibz/Ui/Core/DropdownLink.html +1 -1
  37. data/doc/UiBibz/Ui/Core/Glyph.html +1 -1
  38. data/doc/UiBibz/Ui/Core/Jumbotron.html +1 -1
  39. data/doc/UiBibz/Ui/Core/Label.html +1 -1
  40. data/doc/UiBibz/Ui/Core/List.html +1 -1
  41. data/doc/UiBibz/Ui/Core/ListGroup.html +1 -1
  42. data/doc/UiBibz/Ui/Core/Modal.html +541 -0
  43. data/doc/UiBibz/Ui/Core/ModalBody.html +351 -0
  44. data/doc/UiBibz/Ui/Core/ModalFooter.html +351 -0
  45. data/doc/UiBibz/Ui/Core/ModalHeader.html +357 -0
  46. data/doc/UiBibz/Ui/Core/Nav.html +1 -1
  47. data/doc/UiBibz/Ui/Core/NavDropdown.html +1 -1
  48. data/doc/UiBibz/Ui/Core/NavLink.html +1 -1
  49. data/doc/UiBibz/Ui/Core/Navbar.html +1 -1
  50. data/doc/UiBibz/Ui/Core/NavbarForm.html +1 -1
  51. data/doc/UiBibz/Ui/Core/NavbarNav.html +1 -1
  52. data/doc/UiBibz/Ui/Core/NavbarText.html +1 -1
  53. data/doc/UiBibz/Ui/Core/Panel.html +1 -1
  54. data/doc/UiBibz/Ui/Core/ProgressBar.html +1 -1
  55. data/doc/UiBibz/Ui/Core/Row.html +1 -1
  56. data/doc/UiBibz/Ui/Core/Stars.html +1 -1
  57. data/doc/UiBibz/Ui/Ux.html +2 -2
  58. data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
  59. data/doc/UiBibz/Ui/Ux/Actions.html +1 -1
  60. data/doc/UiBibz/Ui/Ux/Column.html +83 -11
  61. data/doc/UiBibz/Ui/Ux/Columns.html +1 -1
  62. data/doc/UiBibz/Ui/Ux/Grid.html +1 -1
  63. data/doc/UiBibz/Ui/Ux/Paginable.html +1 -1
  64. data/doc/UiBibz/Ui/Ux/Searchable.html +1 -1
  65. data/doc/UiBibz/Ui/Ux/Sortable.html +1 -1
  66. data/doc/UiBibz/Ui/Ux/Store.html +93 -41
  67. data/doc/UiBibz/Ui/Ux/Table.html +1 -1
  68. data/doc/UiBibz/Ui/Ux/TablePagination.html +1 -1
  69. data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +1 -1
  70. data/doc/UiBibz/Ui/Ux/TablePanel.html +1 -1
  71. data/doc/UiBibz/Ui/Ux/TableSearchField.html +1 -1
  72. data/doc/UiBibz/Utils.html +1 -1
  73. data/doc/UiBibz/Utils/Internationalization.html +1 -1
  74. data/doc/_index.html +29 -1
  75. data/doc/class_list.html +1 -1
  76. data/doc/file.README.html +65 -43
  77. data/doc/images/modal.png +0 -0
  78. data/doc/index.html +65 -43
  79. data/doc/method_list.html +309 -225
  80. data/doc/top-level-namespace.html +1 -1
  81. data/lib/ui_bibz.rb +1 -0
  82. data/lib/ui_bibz/concerns/models/searchable.rb +2 -1
  83. data/lib/ui_bibz/helpers/ui_core_helper.rb +4 -0
  84. data/lib/ui_bibz/ui/core/modal/components/modal_body.rb +45 -0
  85. data/lib/ui_bibz/ui/core/modal/components/modal_footer.rb +45 -0
  86. data/lib/ui_bibz/ui/core/modal/components/modal_header.rb +58 -0
  87. data/lib/ui_bibz/ui/core/modal/modal.rb +92 -0
  88. data/lib/ui_bibz/ui/ux/table/components/column.rb +2 -1
  89. data/lib/ui_bibz/ui/ux/table/components/store.rb +4 -0
  90. data/lib/ui_bibz/ui/ux/table/extensions/sortable.rb +13 -8
  91. data/lib/ui_bibz/version.rb +1 -1
  92. data/test/test_helper.rb +0 -5
  93. data/test/ui/table_test.rb +1 -1
  94. data/test/ui_helper_test.rb +15 -0
  95. data/ui_bibz.gemspec +2 -5
  96. metadata +19 -52
@@ -0,0 +1,351 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: UiBibz::Ui::Core::ModalBody
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../../';
20
+ framesUrl = "../../../frames.html#!UiBibz/Ui/Core/ModalBody.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../../../_index.html">Index (M)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../../UiBibz.html" title="UiBibz (module)">UiBibz</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Ui.html" title="UiBibz::Ui (module)">Ui</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Core.html" title="UiBibz::Ui::Core (module)">Core</a></span></span>
36
+ &raquo;
37
+ <span class="title">ModalBody</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../../../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../../../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../../../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: UiBibz::Ui::Core::ModalBody
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName"><span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next"><span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></li>
82
+
83
+ <li class="next"><span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></li>
84
+
85
+ <li class="next">UiBibz::Ui::Core::ModalBody</li>
86
+
87
+ </ul>
88
+ <a href="#" class="inheritanceTree">show all</a>
89
+
90
+ </dd>
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dt class="r2 last">Defined in:</dt>
101
+ <dd class="r2 last">lib/ui_bibz/ui/core/modal/components/modal_body.rb</dd>
102
+
103
+ </dl>
104
+ <div class="clear"></div>
105
+
106
+ <h2>Overview</h2><div class="docstring">
107
+ <div class="discussion">
108
+
109
+ <p>Create a modal body</p>
110
+
111
+ <h4>Attributes</h4>
112
+ <ul><li>
113
+ <p><tt>content</tt> - Content of element</p>
114
+ </li><li>
115
+ <p><tt>options</tt> - Options of element</p>
116
+ </li><li>
117
+ <p><tt>html_options</tt> - Html Options of element</p>
118
+ </li></ul>
119
+
120
+ <h4>Options</h4>
121
+
122
+ <p>You can add HTML attributes using the <tt>html_options</tt>. You can pass
123
+ arguments in options attribute:</p>
124
+
125
+ <h4>Signatures</h4>
126
+
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
+
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
+ <span class='id identifier rubyid_content'>content</span>
131
+ <span class='kw'>end</span></code></pre>
132
+
133
+ <h4>Examples</h4>
134
+
135
+ <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
+ <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'>'</span><span class='tstring_content'>Exemple</span><span class='tstring_end'>'</span></span>
139
+ <span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span></code></pre>
140
+
141
+
142
+ </div>
143
+ </div>
144
+ <div class="tags">
145
+
146
+
147
+ </div>
148
+
149
+
150
+
151
+
152
+
153
+ <h2>Instance Attribute Summary</h2>
154
+
155
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
156
+ <p class="inherited"><span class='object_link'><a href="Component.html#content-instance_method" title="UiBibz::Ui::Core::Component#content (method)">#content</a></span>, <span class='object_link'><a href="Component.html#html_options-instance_method" title="UiBibz::Ui::Core::Component#html_options (method)">#html_options</a></span>, <span class='object_link'><a href="Component.html#options-instance_method" title="UiBibz::Ui::Core::Component#options (method)">#options</a></span></p>
157
+
158
+
159
+
160
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
161
+ <p class="inherited"><span class='object_link'><a href="../Base.html#output_buffer-instance_method" title="UiBibz::Ui::Base#output_buffer (method)">#output_buffer</a></span></p>
162
+
163
+
164
+
165
+ <h2>
166
+ Instance Method Summary
167
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
168
+ </h2>
169
+
170
+ <ul class="summary">
171
+
172
+ <li class="public ">
173
+ <span class="summary_signature">
174
+
175
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (ModalBody) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &amp;block) </a>
176
+
177
+
178
+
179
+ </span>
180
+
181
+
182
+ <span class="note title constructor">constructor</span>
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+ <span class="summary_desc"><div class='inline'>
192
+ <p>See UiBibz::Ui::Core::Component.initialize.</p>
193
+ </div></span>
194
+
195
+ </li>
196
+
197
+
198
+ <li class="public ">
199
+ <span class="summary_signature">
200
+
201
+ <a href="#render-instance_method" title="#render (instance method)">- (Object) <strong>render</strong> </a>
202
+
203
+
204
+
205
+ </span>
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+ <span class="summary_desc"><div class='inline'>
216
+ <p>Render html tag.</p>
217
+ </div></span>
218
+
219
+ </li>
220
+
221
+
222
+ </ul>
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
235
+ <p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span>, <span class='object_link'><a href="Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span></p>
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
246
+ <p class="inherited"><span class='object_link'><a href="../Base.html#i18n_set%3F-instance_method" title="UiBibz::Ui::Base#i18n_set? (method)">#i18n_set?</a></span></p>
247
+
248
+ <div id="constructor_details" class="method_details_list">
249
+ <h2>Constructor Details</h2>
250
+
251
+ <div class="method_details first">
252
+ <h3 class="signature first" id="initialize-instance_method">
253
+
254
+ - (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Core::ModalBody (class)">ModalBody</a></span></tt>) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &amp;block)
255
+
256
+
257
+
258
+
259
+
260
+ </h3><div class="docstring">
261
+ <div class="discussion">
262
+
263
+ <p>See UiBibz::Ui::Core::Component.initialize</p>
264
+
265
+
266
+ </div>
267
+ </div>
268
+ <div class="tags">
269
+
270
+
271
+ </div><table class="source_code">
272
+ <tr>
273
+ <td>
274
+ <pre class="lines">
275
+
276
+
277
+ 35
278
+ 36
279
+ 37</pre>
280
+ </td>
281
+ <td>
282
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/modal/components/modal_body.rb', line 35</span>
283
+
284
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</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'>&amp;</span><span class='id identifier rubyid_block'>block</span>
285
+ <span class='kw'>super</span>
286
+ <span class='kw'>end</span></pre>
287
+ </td>
288
+ </tr>
289
+ </table>
290
+ </div>
291
+
292
+ </div>
293
+
294
+
295
+ <div id="instance_method_details" class="method_details_list">
296
+ <h2>Instance Method Details</h2>
297
+
298
+
299
+ <div class="method_details first">
300
+ <h3 class="signature first" id="render-instance_method">
301
+
302
+ - (<tt>Object</tt>) <strong>render</strong>
303
+
304
+
305
+
306
+
307
+
308
+ </h3><div class="docstring">
309
+ <div class="discussion">
310
+
311
+ <p>Render html tag</p>
312
+
313
+
314
+ </div>
315
+ </div>
316
+ <div class="tags">
317
+
318
+
319
+ </div><table class="source_code">
320
+ <tr>
321
+ <td>
322
+ <pre class="lines">
323
+
324
+
325
+ 40
326
+ 41
327
+ 42</pre>
328
+ </td>
329
+ <td>
330
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/modal/components/modal_body.rb', line 40</span>
331
+
332
+ <span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
333
+ <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='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>modal-body</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
334
+ <span class='kw'>end</span></pre>
335
+ </td>
336
+ </tr>
337
+ </table>
338
+ </div>
339
+
340
+ </div>
341
+
342
+ </div>
343
+
344
+ <div id="footer">
345
+ Generated on Mon Sep 21 15:46:16 2015 by
346
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
347
+ 0.8.7.6 (ruby-1.9.3).
348
+ </div>
349
+
350
+ </body>
351
+ </html>
@@ -0,0 +1,351 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: UiBibz::Ui::Core::ModalFooter
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../../';
20
+ framesUrl = "../../../frames.html#!UiBibz/Ui/Core/ModalFooter.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../../../_index.html">Index (M)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../../UiBibz.html" title="UiBibz (module)">UiBibz</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Ui.html" title="UiBibz::Ui (module)">Ui</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Core.html" title="UiBibz::Ui::Core (module)">Core</a></span></span>
36
+ &raquo;
37
+ <span class="title">ModalFooter</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../../../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../../../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../../../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: UiBibz::Ui::Core::ModalFooter
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName"><span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next"><span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></li>
82
+
83
+ <li class="next"><span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></li>
84
+
85
+ <li class="next">UiBibz::Ui::Core::ModalFooter</li>
86
+
87
+ </ul>
88
+ <a href="#" class="inheritanceTree">show all</a>
89
+
90
+ </dd>
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dt class="r2 last">Defined in:</dt>
101
+ <dd class="r2 last">lib/ui_bibz/ui/core/modal/components/modal_footer.rb</dd>
102
+
103
+ </dl>
104
+ <div class="clear"></div>
105
+
106
+ <h2>Overview</h2><div class="docstring">
107
+ <div class="discussion">
108
+
109
+ <p>Create a modal footer</p>
110
+
111
+ <h4>Attributes</h4>
112
+ <ul><li>
113
+ <p><tt>content</tt> - Content of element</p>
114
+ </li><li>
115
+ <p><tt>options</tt> - Options of element</p>
116
+ </li><li>
117
+ <p><tt>html_options</tt> - Html Options of element</p>
118
+ </li></ul>
119
+
120
+ <h4>Options</h4>
121
+
122
+ <p>You can add HTML attributes using the <tt>html_options</tt>. You can pass
123
+ arguments in options attribute:</p>
124
+
125
+ <h4>Signatures</h4>
126
+
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
+
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
+ <span class='id identifier rubyid_content'>content</span>
131
+ <span class='kw'>end</span></code></pre>
132
+
133
+ <h4>Examples</h4>
134
+
135
+ <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
+ <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'>'</span><span class='tstring_content'>Exemple</span><span class='tstring_end'>'</span></span>
139
+ <span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span></code></pre>
140
+
141
+
142
+ </div>
143
+ </div>
144
+ <div class="tags">
145
+
146
+
147
+ </div>
148
+
149
+
150
+
151
+
152
+
153
+ <h2>Instance Attribute Summary</h2>
154
+
155
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
156
+ <p class="inherited"><span class='object_link'><a href="Component.html#content-instance_method" title="UiBibz::Ui::Core::Component#content (method)">#content</a></span>, <span class='object_link'><a href="Component.html#html_options-instance_method" title="UiBibz::Ui::Core::Component#html_options (method)">#html_options</a></span>, <span class='object_link'><a href="Component.html#options-instance_method" title="UiBibz::Ui::Core::Component#options (method)">#options</a></span></p>
157
+
158
+
159
+
160
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
161
+ <p class="inherited"><span class='object_link'><a href="../Base.html#output_buffer-instance_method" title="UiBibz::Ui::Base#output_buffer (method)">#output_buffer</a></span></p>
162
+
163
+
164
+
165
+ <h2>
166
+ Instance Method Summary
167
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
168
+ </h2>
169
+
170
+ <ul class="summary">
171
+
172
+ <li class="public ">
173
+ <span class="summary_signature">
174
+
175
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (ModalFooter) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &amp;block) </a>
176
+
177
+
178
+
179
+ </span>
180
+
181
+
182
+ <span class="note title constructor">constructor</span>
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+ <span class="summary_desc"><div class='inline'>
192
+ <p>See UiBibz::Ui::Core::Component.initialize.</p>
193
+ </div></span>
194
+
195
+ </li>
196
+
197
+
198
+ <li class="public ">
199
+ <span class="summary_signature">
200
+
201
+ <a href="#render-instance_method" title="#render (instance method)">- (Object) <strong>render</strong> </a>
202
+
203
+
204
+
205
+ </span>
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+ <span class="summary_desc"><div class='inline'>
216
+ <p>Render html tag.</p>
217
+ </div></span>
218
+
219
+ </li>
220
+
221
+
222
+ </ul>
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
235
+ <p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span>, <span class='object_link'><a href="Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span></p>
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
246
+ <p class="inherited"><span class='object_link'><a href="../Base.html#i18n_set%3F-instance_method" title="UiBibz::Ui::Base#i18n_set? (method)">#i18n_set?</a></span></p>
247
+
248
+ <div id="constructor_details" class="method_details_list">
249
+ <h2>Constructor Details</h2>
250
+
251
+ <div class="method_details first">
252
+ <h3 class="signature first" id="initialize-instance_method">
253
+
254
+ - (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Core::ModalFooter (class)">ModalFooter</a></span></tt>) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &amp;block)
255
+
256
+
257
+
258
+
259
+
260
+ </h3><div class="docstring">
261
+ <div class="discussion">
262
+
263
+ <p>See UiBibz::Ui::Core::Component.initialize</p>
264
+
265
+
266
+ </div>
267
+ </div>
268
+ <div class="tags">
269
+
270
+
271
+ </div><table class="source_code">
272
+ <tr>
273
+ <td>
274
+ <pre class="lines">
275
+
276
+
277
+ 35
278
+ 36
279
+ 37</pre>
280
+ </td>
281
+ <td>
282
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/modal/components/modal_footer.rb', line 35</span>
283
+
284
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</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'>&amp;</span><span class='id identifier rubyid_block'>block</span>
285
+ <span class='kw'>super</span>
286
+ <span class='kw'>end</span></pre>
287
+ </td>
288
+ </tr>
289
+ </table>
290
+ </div>
291
+
292
+ </div>
293
+
294
+
295
+ <div id="instance_method_details" class="method_details_list">
296
+ <h2>Instance Method Details</h2>
297
+
298
+
299
+ <div class="method_details first">
300
+ <h3 class="signature first" id="render-instance_method">
301
+
302
+ - (<tt>Object</tt>) <strong>render</strong>
303
+
304
+
305
+
306
+
307
+
308
+ </h3><div class="docstring">
309
+ <div class="discussion">
310
+
311
+ <p>Render html tag</p>
312
+
313
+
314
+ </div>
315
+ </div>
316
+ <div class="tags">
317
+
318
+
319
+ </div><table class="source_code">
320
+ <tr>
321
+ <td>
322
+ <pre class="lines">
323
+
324
+
325
+ 40
326
+ 41
327
+ 42</pre>
328
+ </td>
329
+ <td>
330
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/modal/components/modal_footer.rb', line 40</span>
331
+
332
+ <span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
333
+ <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='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>modal-footer</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
334
+ <span class='kw'>end</span></pre>
335
+ </td>
336
+ </tr>
337
+ </table>
338
+ </div>
339
+
340
+ </div>
341
+
342
+ </div>
343
+
344
+ <div id="footer">
345
+ Generated on Mon Sep 21 15:46:16 2015 by
346
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
347
+ 0.8.7.6 (ruby-1.9.3).
348
+ </div>
349
+
350
+ </body>
351
+ </html>