ui_bibz 2.0.0.alpha10 → 2.0.0.alpha11
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 +4 -4
- data/Gemfile.lock +9 -7
- data/app/assets/stylesheets/table.sass +2 -0
- data/app/assets/stylesheets/ui_bibz.sass +0 -2
- data/lib/ui_bibz/ui/core/alert.rb +4 -4
- data/lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb +2 -2
- data/lib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb +2 -2
- data/lib/ui_bibz/ui/core/button/button.rb +10 -10
- data/lib/ui_bibz/ui/core/button/button_choice.rb +5 -5
- data/lib/ui_bibz/ui/core/button/button_dropdown.rb +3 -3
- data/lib/ui_bibz/ui/core/button/button_group.rb +5 -1
- data/lib/ui_bibz/ui/core/button/button_link.rb +2 -2
- data/lib/ui_bibz/ui/core/button/button_split_dropdown.rb +5 -5
- data/lib/ui_bibz/ui/core/card/card.rb +4 -4
- data/lib/ui_bibz/ui/core/card/components/block/card_block_text.rb +1 -1
- data/lib/ui_bibz/ui/core/component.rb +7 -7
- data/lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb +2 -2
- data/lib/ui_bibz/ui/core/dropdown/dropdown.rb +6 -6
- data/lib/ui_bibz/ui/core/glyph.rb +3 -3
- data/lib/ui_bibz/ui/core/input/autocomplete_field.rb +7 -1
- data/lib/ui_bibz/ui/core/input/dropdown_select_field.rb +2 -2
- data/lib/ui_bibz/ui/core/input/formula_field.rb +1 -1
- data/lib/ui_bibz/ui/core/input/multi_select_field.rb +2 -2
- data/lib/ui_bibz/ui/core/input/surround_field.rb +9 -1
- data/lib/ui_bibz/ui/core/input/switch_field.rb +4 -4
- data/lib/ui_bibz/ui/core/label.rb +4 -4
- data/lib/ui_bibz/ui/core/list/components/list.rb +7 -7
- data/lib/ui_bibz/ui/core/list/list_group.rb +5 -5
- data/lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb +2 -2
- data/lib/ui_bibz/ui/core/nav/components/nav_link.rb +3 -3
- data/lib/ui_bibz/ui/core/nav/components/nav_link_link.rb +1 -1
- data/lib/ui_bibz/ui/core/nav/components/navbar_nav.rb +1 -1
- data/lib/ui_bibz/ui/core/nav/nav.rb +1 -1
- data/lib/ui_bibz/ui/core/nav/navbar.rb +3 -3
- data/lib/ui_bibz/ui/core/progress.rb +5 -5
- data/lib/ui_bibz/ui/core/stars.rb +3 -3
- data/lib/ui_bibz/ui/ux/table/components/actions.rb +4 -0
- data/lib/ui_bibz/ui/ux/table/components/as.rb +8 -4
- data/lib/ui_bibz/ui/ux/table/components/column.rb +17 -16
- data/lib/ui_bibz/ui/ux/table/components/thead.rb +4 -4
- data/lib/ui_bibz/ui/ux/table/table.rb +8 -8
- data/lib/ui_bibz/ui/ux/table/table_card.rb +4 -4
- data/lib/ui_bibz/version.rb +1 -1
- data/test/dummy/db/schema.rb +1 -1
- data/test/ui/breadcrumb_test.rb +2 -2
- data/test/ui/button_test.rb +24 -24
- data/test/ui/card_test.rb +5 -5
- data/test/ui/component_test.rb +2 -2
- data/test/ui/dropdown_test.rb +1 -1
- data/test/ui/input_switch_field_test.rb +3 -3
- data/test/ui/inputs_test.rb +5 -5
- data/test/ui/list_group_test.rb +5 -5
- data/test/ui/nav_test.rb +3 -3
- data/test/ui/stars_test.rb +2 -2
- data/test/ui/table_test.rb +7 -7
- data/test/ui_helper_test.rb +16 -16
- data/ui_bibz.gemspec +2 -2
- metadata +5 -109
- data/doc/UiBibz.html +0 -129
- data/doc/UiBibz/Concerns.html +0 -115
- data/doc/UiBibz/Concerns/Models.html +0 -115
- data/doc/UiBibz/Concerns/Models/Searchable.html +0 -120
- data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +0 -174
- data/doc/UiBibz/Helpers.html +0 -115
- data/doc/UiBibz/Helpers/MetaHelper.html +0 -273
- data/doc/UiBibz/Helpers/UiCoreHelper.html +0 -1234
- data/doc/UiBibz/Helpers/UiUxHelper.html +0 -463
- data/doc/UiBibz/Helpers/UtilsHelper.html +0 -187
- data/doc/UiBibz/Rails.html +0 -115
- data/doc/UiBibz/Rails/Engine.html +0 -123
- data/doc/UiBibz/Ui.html +0 -119
- data/doc/UiBibz/Ui/Base.html +0 -304
- data/doc/UiBibz/Ui/Core.html +0 -128
- data/doc/UiBibz/Ui/Core/Alert.html +0 -383
- data/doc/UiBibz/Ui/Core/Bar.html +0 -372
- data/doc/UiBibz/Ui/Core/Breadcrumb.html +0 -442
- data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +0 -369
- data/doc/UiBibz/Ui/Core/Button.html +0 -380
- data/doc/UiBibz/Ui/Core/ButtonDropdown.html +0 -401
- data/doc/UiBibz/Ui/Core/ButtonGroup.html +0 -372
- data/doc/UiBibz/Ui/Core/ButtonLink.html +0 -382
- data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +0 -403
- data/doc/UiBibz/Ui/Core/Col.html +0 -373
- data/doc/UiBibz/Ui/Core/Component.html +0 -1087
- data/doc/UiBibz/Ui/Core/Dropdown.html +0 -663
- data/doc/UiBibz/Ui/Core/DropdownDivider.html +0 -301
- data/doc/UiBibz/Ui/Core/DropdownHeader.html +0 -355
- data/doc/UiBibz/Ui/Core/DropdownLink.html +0 -376
- data/doc/UiBibz/Ui/Core/DropdownList.html +0 -382
- data/doc/UiBibz/Ui/Core/Glyph.html +0 -385
- data/doc/UiBibz/Ui/Core/Jumbotron.html +0 -379
- data/doc/UiBibz/Ui/Core/Label.html +0 -379
- data/doc/UiBibz/Ui/Core/List.html +0 -528
- data/doc/UiBibz/Ui/Core/ListGroup.html +0 -474
- data/doc/UiBibz/Ui/Core/Modal.html +0 -543
- data/doc/UiBibz/Ui/Core/ModalBody.html +0 -353
- data/doc/UiBibz/Ui/Core/ModalFooter.html +0 -353
- data/doc/UiBibz/Ui/Core/ModalHeader.html +0 -359
- data/doc/UiBibz/Ui/Core/Nav.html +0 -515
- data/doc/UiBibz/Ui/Core/NavDropdown.html +0 -391
- data/doc/UiBibz/Ui/Core/NavLink.html +0 -364
- data/doc/UiBibz/Ui/Core/Navbar.html +0 -646
- data/doc/UiBibz/Ui/Core/NavbarForm.html +0 -364
- data/doc/UiBibz/Ui/Core/NavbarNav.html +0 -302
- data/doc/UiBibz/Ui/Core/NavbarText.html +0 -355
- data/doc/UiBibz/Ui/Core/Panel.html +0 -617
- data/doc/UiBibz/Ui/Core/ProgressBar.html +0 -462
- data/doc/UiBibz/Ui/Core/Row.html +0 -350
- data/doc/UiBibz/Ui/Core/Stars.html +0 -371
- data/doc/UiBibz/Ui/Ux.html +0 -128
- data/doc/UiBibz/Ui/Ux/Actionable.html +0 -478
- data/doc/UiBibz/Ui/Ux/Actions.html +0 -602
- data/doc/UiBibz/Ui/Ux/Column.html +0 -1249
- data/doc/UiBibz/Ui/Ux/Columns.html +0 -338
- data/doc/UiBibz/Ui/Ux/Grid.html +0 -485
- data/doc/UiBibz/Ui/Ux/Paginable.html +0 -381
- data/doc/UiBibz/Ui/Ux/Searchable.html +0 -376
- data/doc/UiBibz/Ui/Ux/Sortable.html +0 -300
- data/doc/UiBibz/Ui/Ux/Store.html +0 -1176
- data/doc/UiBibz/Ui/Ux/Table.html +0 -694
- data/doc/UiBibz/Ui/Ux/TableAction.html +0 -309
- data/doc/UiBibz/Ui/Ux/TablePagination.html +0 -342
- data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +0 -348
- data/doc/UiBibz/Ui/Ux/TablePanel.html +0 -680
- data/doc/UiBibz/Ui/Ux/TableSearchField.html +0 -304
- data/doc/UiBibz/Utils.html +0 -115
- data/doc/UiBibz/Utils/Internationalization.html +0 -262
- data/doc/_index.html +0 -706
- data/doc/class_list.html +0 -58
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -57
- data/doc/css/style.css +0 -339
- data/doc/file.README.html +0 -1261
- data/doc/file_list.html +0 -60
- data/doc/frames.html +0 -26
- data/doc/images/alert.png +0 -0
- data/doc/images/breadcrumb.png +0 -0
- data/doc/images/button.png +0 -0
- data/doc/images/button_dropdown.png +0 -0
- data/doc/images/button_group.png +0 -0
- data/doc/images/button_link.png +0 -0
- data/doc/images/button_split_dropdown.png +0 -0
- data/doc/images/etiquette.png +0 -0
- data/doc/images/glyph.png +0 -0
- data/doc/images/list.png +0 -0
- data/doc/images/modal.png +0 -0
- data/doc/images/nav.png +0 -0
- data/doc/images/navbar.png +0 -0
- data/doc/images/panel.png +0 -0
- data/doc/images/progress_bar.png +0 -0
- data/doc/images/stars.png +0 -0
- data/doc/images/table.png +0 -0
- data/doc/images/table_pagination_per_page.png +0 -0
- data/doc/images/table_panel.png +0 -0
- data/doc/images/table_search_field.png +0 -0
- data/doc/images/ui-bibz-logo-without-border.gif +0 -0
- data/doc/images/ui-bibz-logo.gif +0 -0
- data/doc/index.html +0 -1261
- data/doc/js/app.js +0 -219
- data/doc/js/full_list.js +0 -181
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1329
- data/doc/top-level-namespace.html +0 -112
@@ -1,381 +0,0 @@
|
|
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::Ux::Paginable
|
8
|
-
|
9
|
-
— 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/Ux/Paginable.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 (P)</a> »
|
35
|
-
<span class='title'><span class='object_link'><a href="../../../UiBibz.html" title="UiBibz (module)">UiBibz</a></span></span> » <span class='title'><span class='object_link'><a href="../../Ui.html" title="UiBibz::Ui (module)">Ui</a></span></span> » <span class='title'><span class='object_link'><a href="../Ux.html" title="UiBibz::Ui::Ux (module)">Ux</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">Paginable</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::Ux::Paginable
|
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="../Base.html" title="UiBibz::Ui::Base (class)">Base</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">UiBibz::Ui::Ux::Paginable</li>
|
84
|
-
|
85
|
-
</ul>
|
86
|
-
<a href="#" class="inheritanceTree">show all</a>
|
87
|
-
|
88
|
-
</dd>
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
<dt class="r2">Includes:</dt>
|
96
|
-
<dd class="r2">WillPaginate::ActionView</dd>
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
<dt class="r1 last">Defined in:</dt>
|
103
|
-
<dd class="r1 last">lib/ui_bibz/ui/ux/table/extensions/paginable.rb</dd>
|
104
|
-
|
105
|
-
</dl>
|
106
|
-
<div class="clear"></div>
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
<h2>Instance Attribute Summary</h2>
|
115
|
-
|
116
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
|
117
|
-
<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>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
<h2>
|
122
|
-
Instance Method Summary
|
123
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
124
|
-
</h2>
|
125
|
-
|
126
|
-
<ul class="summary">
|
127
|
-
|
128
|
-
<li class="public ">
|
129
|
-
<span class="summary_signature">
|
130
|
-
|
131
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Paginable) <strong>initialize</strong>(store, options) </a>
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
</span>
|
136
|
-
|
137
|
-
|
138
|
-
<span class="note title constructor">constructor</span>
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
<span class="summary_desc"><div class='inline'>
|
148
|
-
<p>A new instance of Paginable.</p>
|
149
|
-
</div></span>
|
150
|
-
|
151
|
-
</li>
|
152
|
-
|
153
|
-
|
154
|
-
<li class="public ">
|
155
|
-
<span class="summary_signature">
|
156
|
-
|
157
|
-
<a href="#paginable%3F-instance_method" title="#paginable? (instance method)">- (Boolean) <strong>paginable?</strong> </a>
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
</span>
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
172
|
-
|
173
|
-
</li>
|
174
|
-
|
175
|
-
|
176
|
-
<li class="public ">
|
177
|
-
<span class="summary_signature">
|
178
|
-
|
179
|
-
<a href="#render-instance_method" title="#render (instance method)">- (Object) <strong>render</strong> </a>
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
</span>
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
<span class="summary_desc"><div class='inline'>
|
194
|
-
<p>Render html tag.</p>
|
195
|
-
</div></span>
|
196
|
-
|
197
|
-
</li>
|
198
|
-
|
199
|
-
|
200
|
-
</ul>
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
|
214
|
-
<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>
|
215
|
-
|
216
|
-
<div id="constructor_details" class="method_details_list">
|
217
|
-
<h2>Constructor Details</h2>
|
218
|
-
|
219
|
-
<div class="method_details first">
|
220
|
-
<h3 class="signature first" id="initialize-instance_method">
|
221
|
-
|
222
|
-
- (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Ux::Paginable (class)">Paginable</a></span></tt>) <strong>initialize</strong>(store, options)
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
</h3><div class="docstring">
|
229
|
-
<div class="discussion">
|
230
|
-
|
231
|
-
<p>Returns a new instance of Paginable</p>
|
232
|
-
|
233
|
-
|
234
|
-
</div>
|
235
|
-
</div>
|
236
|
-
<div class="tags">
|
237
|
-
|
238
|
-
|
239
|
-
</div><table class="source_code">
|
240
|
-
<tr>
|
241
|
-
<td>
|
242
|
-
<pre class="lines">
|
243
|
-
|
244
|
-
|
245
|
-
5
|
246
|
-
6
|
247
|
-
7
|
248
|
-
8</pre>
|
249
|
-
</td>
|
250
|
-
<td>
|
251
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/extensions/paginable.rb', line 5</span>
|
252
|
-
|
253
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_store'>store</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span>
|
254
|
-
<span class='ivar'>@store</span> <span class='op'>=</span> <span class='id identifier rubyid_store'>store</span>
|
255
|
-
<span class='ivar'>@options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span>
|
256
|
-
<span class='kw'>end</span></pre>
|
257
|
-
</td>
|
258
|
-
</tr>
|
259
|
-
</table>
|
260
|
-
</div>
|
261
|
-
|
262
|
-
</div>
|
263
|
-
|
264
|
-
|
265
|
-
<div id="instance_method_details" class="method_details_list">
|
266
|
-
<h2>Instance Method Details</h2>
|
267
|
-
|
268
|
-
|
269
|
-
<div class="method_details first">
|
270
|
-
<h3 class="signature first" id="paginable?-instance_method">
|
271
|
-
|
272
|
-
- (<tt>Boolean</tt>) <strong>paginable?</strong>
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
</h3><div class="docstring">
|
279
|
-
<div class="discussion">
|
280
|
-
|
281
|
-
|
282
|
-
</div>
|
283
|
-
</div>
|
284
|
-
<div class="tags">
|
285
|
-
|
286
|
-
<p class="tag_title">Returns:</p>
|
287
|
-
<ul class="return">
|
288
|
-
|
289
|
-
<li>
|
290
|
-
|
291
|
-
|
292
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
</li>
|
297
|
-
|
298
|
-
</ul>
|
299
|
-
|
300
|
-
</div><table class="source_code">
|
301
|
-
<tr>
|
302
|
-
<td>
|
303
|
-
<pre class="lines">
|
304
|
-
|
305
|
-
|
306
|
-
19
|
307
|
-
20
|
308
|
-
21</pre>
|
309
|
-
</td>
|
310
|
-
<td>
|
311
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/extensions/paginable.rb', line 19</span>
|
312
|
-
|
313
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_paginable?'>paginable?</span>
|
314
|
-
<span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:paginable</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='kw'>true</span> <span class='op'>:</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:paginable</span><span class='rbracket'>]</span>
|
315
|
-
<span class='kw'>end</span></pre>
|
316
|
-
</td>
|
317
|
-
</tr>
|
318
|
-
</table>
|
319
|
-
</div>
|
320
|
-
|
321
|
-
<div class="method_details ">
|
322
|
-
<h3 class="signature " id="render-instance_method">
|
323
|
-
|
324
|
-
- (<tt>Object</tt>) <strong>render</strong>
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
</h3><div class="docstring">
|
331
|
-
<div class="discussion">
|
332
|
-
|
333
|
-
<p>Render html tag</p>
|
334
|
-
|
335
|
-
|
336
|
-
</div>
|
337
|
-
</div>
|
338
|
-
<div class="tags">
|
339
|
-
|
340
|
-
|
341
|
-
</div><table class="source_code">
|
342
|
-
<tr>
|
343
|
-
<td>
|
344
|
-
<pre class="lines">
|
345
|
-
|
346
|
-
|
347
|
-
11
|
348
|
-
12
|
349
|
-
13
|
350
|
-
14
|
351
|
-
15
|
352
|
-
16
|
353
|
-
17</pre>
|
354
|
-
</td>
|
355
|
-
<td>
|
356
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/extensions/paginable.rb', line 11</span>
|
357
|
-
|
358
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
359
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span> <span class='kw'>do</span>
|
360
|
-
<span class='id identifier rubyid_concat'>concat</span> <span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Ux</span><span class='op'>::</span><span class='const'>TablePagination</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>store:</span> <span class='ivar'>@store</span> <span class='rbrace'>}</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
361
|
-
<span class='id identifier rubyid_concat'>concat</span> <span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Ux</span><span class='op'>::</span><span class='const'>TablePaginationPerPage</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>store:</span> <span class='ivar'>@store</span> <span class='rbrace'>}</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
362
|
-
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_tag'>tag</span><span class='lparen'>(</span><span class='symbol'>:br</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>ui-bibz-clear</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
363
|
-
<span class='kw'>end</span>
|
364
|
-
<span class='kw'>end</span></pre>
|
365
|
-
</td>
|
366
|
-
</tr>
|
367
|
-
</table>
|
368
|
-
</div>
|
369
|
-
|
370
|
-
</div>
|
371
|
-
|
372
|
-
</div>
|
373
|
-
|
374
|
-
<div id="footer">
|
375
|
-
Generated on Mon Oct 19 15:25:16 2015 by
|
376
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
377
|
-
0.8.7.6 (ruby-2.2.3).
|
378
|
-
</div>
|
379
|
-
|
380
|
-
</body>
|
381
|
-
</html>
|
@@ -1,376 +0,0 @@
|
|
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::Ux::Searchable
|
8
|
-
|
9
|
-
— 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/Ux/Searchable.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 (S)</a> »
|
35
|
-
<span class='title'><span class='object_link'><a href="../../../UiBibz.html" title="UiBibz (module)">UiBibz</a></span></span> » <span class='title'><span class='object_link'><a href="../../Ui.html" title="UiBibz::Ui (module)">Ui</a></span></span> » <span class='title'><span class='object_link'><a href="../Ux.html" title="UiBibz::Ui::Ux (module)">Ux</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">Searchable</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::Ux::Searchable
|
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="../Base.html" title="UiBibz::Ui::Base (class)">Base</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">UiBibz::Ui::Ux::Searchable</li>
|
84
|
-
|
85
|
-
</ul>
|
86
|
-
<a href="#" class="inheritanceTree">show all</a>
|
87
|
-
|
88
|
-
</dd>
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
<dt class="r2 last">Defined in:</dt>
|
99
|
-
<dd class="r2 last">lib/ui_bibz/ui/ux/table/extensions/searchable.rb</dd>
|
100
|
-
|
101
|
-
</dl>
|
102
|
-
<div class="clear"></div>
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
<h2>Instance Attribute Summary</h2>
|
111
|
-
|
112
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
|
113
|
-
<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>
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
<h2>
|
118
|
-
Instance Method Summary
|
119
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
120
|
-
</h2>
|
121
|
-
|
122
|
-
<ul class="summary">
|
123
|
-
|
124
|
-
<li class="public ">
|
125
|
-
<span class="summary_signature">
|
126
|
-
|
127
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Searchable) <strong>initialize</strong>(store, options) </a>
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
</span>
|
132
|
-
|
133
|
-
|
134
|
-
<span class="note title constructor">constructor</span>
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
<span class="summary_desc"><div class='inline'>
|
144
|
-
<p>A new instance of Searchable.</p>
|
145
|
-
</div></span>
|
146
|
-
|
147
|
-
</li>
|
148
|
-
|
149
|
-
|
150
|
-
<li class="public ">
|
151
|
-
<span class="summary_signature">
|
152
|
-
|
153
|
-
<a href="#render-instance_method" title="#render (instance method)">- (Object) <strong>render</strong> </a>
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
</span>
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
<span class="summary_desc"><div class='inline'>
|
168
|
-
<p>Render html tag.</p>
|
169
|
-
</div></span>
|
170
|
-
|
171
|
-
</li>
|
172
|
-
|
173
|
-
|
174
|
-
<li class="public ">
|
175
|
-
<span class="summary_signature">
|
176
|
-
|
177
|
-
<a href="#searchable%3F-instance_method" title="#searchable? (instance method)">- (Boolean) <strong>searchable?</strong> </a>
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
</span>
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
192
|
-
|
193
|
-
</li>
|
194
|
-
|
195
|
-
|
196
|
-
</ul>
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
|
209
|
-
<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>
|
210
|
-
|
211
|
-
<div id="constructor_details" class="method_details_list">
|
212
|
-
<h2>Constructor Details</h2>
|
213
|
-
|
214
|
-
<div class="method_details first">
|
215
|
-
<h3 class="signature first" id="initialize-instance_method">
|
216
|
-
|
217
|
-
- (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Ux::Searchable (class)">Searchable</a></span></tt>) <strong>initialize</strong>(store, options)
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
</h3><div class="docstring">
|
224
|
-
<div class="discussion">
|
225
|
-
|
226
|
-
<p>Returns a new instance of Searchable</p>
|
227
|
-
|
228
|
-
|
229
|
-
</div>
|
230
|
-
</div>
|
231
|
-
<div class="tags">
|
232
|
-
|
233
|
-
|
234
|
-
</div><table class="source_code">
|
235
|
-
<tr>
|
236
|
-
<td>
|
237
|
-
<pre class="lines">
|
238
|
-
|
239
|
-
|
240
|
-
4
|
241
|
-
5
|
242
|
-
6
|
243
|
-
7</pre>
|
244
|
-
</td>
|
245
|
-
<td>
|
246
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/extensions/searchable.rb', line 4</span>
|
247
|
-
|
248
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_store'>store</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span>
|
249
|
-
<span class='ivar'>@store</span> <span class='op'>=</span> <span class='id identifier rubyid_store'>store</span>
|
250
|
-
<span class='ivar'>@options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span>
|
251
|
-
<span class='kw'>end</span></pre>
|
252
|
-
</td>
|
253
|
-
</tr>
|
254
|
-
</table>
|
255
|
-
</div>
|
256
|
-
|
257
|
-
</div>
|
258
|
-
|
259
|
-
|
260
|
-
<div id="instance_method_details" class="method_details_list">
|
261
|
-
<h2>Instance Method Details</h2>
|
262
|
-
|
263
|
-
|
264
|
-
<div class="method_details first">
|
265
|
-
<h3 class="signature first" id="render-instance_method">
|
266
|
-
|
267
|
-
- (<tt>Object</tt>) <strong>render</strong>
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
</h3><div class="docstring">
|
274
|
-
<div class="discussion">
|
275
|
-
|
276
|
-
<p>Render html tag</p>
|
277
|
-
|
278
|
-
|
279
|
-
</div>
|
280
|
-
</div>
|
281
|
-
<div class="tags">
|
282
|
-
|
283
|
-
|
284
|
-
</div><table class="source_code">
|
285
|
-
<tr>
|
286
|
-
<td>
|
287
|
-
<pre class="lines">
|
288
|
-
|
289
|
-
|
290
|
-
10
|
291
|
-
11
|
292
|
-
12
|
293
|
-
13
|
294
|
-
14
|
295
|
-
15
|
296
|
-
16</pre>
|
297
|
-
</td>
|
298
|
-
<td>
|
299
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/extensions/searchable.rb', line 10</span>
|
300
|
-
|
301
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
302
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span> <span class='kw'>do</span>
|
303
|
-
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_content_tag'>content_tag</span><span class='lparen'>(</span><span class='symbol'>:div</span><span class='comma'>,</span> <span class='id identifier rubyid_table_name'>table_name</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>title</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
304
|
-
<span class='id identifier rubyid_concat'>concat</span> <span class='const'>TableSearchField</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>store:</span> <span class='ivar'>@store</span><span class='comma'>,</span> <span class='label'>wrap_form:</span> <span class='kw'>false</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span> <span class='kw'>if</span> <span class='id identifier rubyid_searchable?'>searchable?</span>
|
305
|
-
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_tag'>tag</span> <span class='symbol'>:br</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>ui-bibz-clear</span><span class='tstring_end'>'</span></span>
|
306
|
-
<span class='kw'>end</span>
|
307
|
-
<span class='kw'>end</span></pre>
|
308
|
-
</td>
|
309
|
-
</tr>
|
310
|
-
</table>
|
311
|
-
</div>
|
312
|
-
|
313
|
-
<div class="method_details ">
|
314
|
-
<h3 class="signature " id="searchable?-instance_method">
|
315
|
-
|
316
|
-
- (<tt>Boolean</tt>) <strong>searchable?</strong>
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
</h3><div class="docstring">
|
323
|
-
<div class="discussion">
|
324
|
-
|
325
|
-
|
326
|
-
</div>
|
327
|
-
</div>
|
328
|
-
<div class="tags">
|
329
|
-
|
330
|
-
<p class="tag_title">Returns:</p>
|
331
|
-
<ul class="return">
|
332
|
-
|
333
|
-
<li>
|
334
|
-
|
335
|
-
|
336
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
</li>
|
341
|
-
|
342
|
-
</ul>
|
343
|
-
|
344
|
-
</div><table class="source_code">
|
345
|
-
<tr>
|
346
|
-
<td>
|
347
|
-
<pre class="lines">
|
348
|
-
|
349
|
-
|
350
|
-
18
|
351
|
-
19
|
352
|
-
20</pre>
|
353
|
-
</td>
|
354
|
-
<td>
|
355
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/extensions/searchable.rb', line 18</span>
|
356
|
-
|
357
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_searchable?'>searchable?</span>
|
358
|
-
<span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:searchable</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='kw'>true</span> <span class='op'>:</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:searchable</span><span class='rbracket'>]</span>
|
359
|
-
<span class='kw'>end</span></pre>
|
360
|
-
</td>
|
361
|
-
</tr>
|
362
|
-
</table>
|
363
|
-
</div>
|
364
|
-
|
365
|
-
</div>
|
366
|
-
|
367
|
-
</div>
|
368
|
-
|
369
|
-
<div id="footer">
|
370
|
-
Generated on Mon Oct 19 15:25:16 2015 by
|
371
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
372
|
-
0.8.7.6 (ruby-2.2.3).
|
373
|
-
</div>
|
374
|
-
|
375
|
-
</body>
|
376
|
-
</html>
|