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,359 +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::Core::ModalHeader
|
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/Core/ModalHeader.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> »
|
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="../Core.html" title="UiBibz::Ui::Core (module)">Core</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">ModalHeader</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::ModalHeader
|
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::ModalHeader</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_header.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 header</p>
|
110
|
-
|
111
|
-
<h4 id="label-Attributes">Attributes</h4>
|
112
|
-
<ul><li>
|
113
|
-
<p><code>content</code> - Content of element</p>
|
114
|
-
</li><li>
|
115
|
-
<p><code>options</code> - Options of element</p>
|
116
|
-
</li><li>
|
117
|
-
<p><code>html_options</code> - Html Options of element</p>
|
118
|
-
</li></ul>
|
119
|
-
|
120
|
-
<h4 id="label-Options">Options</h4>
|
121
|
-
|
122
|
-
<p>You can add HTML attributes using the <code>html_options</code>. You can
|
123
|
-
pass arguments in options attribute:</p>
|
124
|
-
|
125
|
-
<h4 id="label-Signatures">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'>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
|
-
|
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
|
-
<span class='id identifier rubyid_content'>content</span>
|
131
|
-
<span class='kw'>end</span>
|
132
|
-
</code></pre>
|
133
|
-
|
134
|
-
<h4 id="label-Examples">Examples</h4>
|
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>
|
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>
|
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>
|
142
|
-
|
143
|
-
|
144
|
-
</div>
|
145
|
-
</div>
|
146
|
-
<div class="tags">
|
147
|
-
|
148
|
-
|
149
|
-
</div>
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
<h2>Instance Attribute Summary</h2>
|
156
|
-
|
157
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
158
|
-
<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>
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
|
163
|
-
<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>
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
<h2>
|
168
|
-
Instance Method Summary
|
169
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
170
|
-
</h2>
|
171
|
-
|
172
|
-
<ul class="summary">
|
173
|
-
|
174
|
-
<li class="public ">
|
175
|
-
<span class="summary_signature">
|
176
|
-
|
177
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (ModalHeader) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &block) </a>
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
</span>
|
182
|
-
|
183
|
-
|
184
|
-
<span class="note title constructor">constructor</span>
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
<span class="summary_desc"><div class='inline'>
|
194
|
-
<p>See UiBibz::Ui::Core::Component.initialize.</p>
|
195
|
-
</div></span>
|
196
|
-
|
197
|
-
</li>
|
198
|
-
|
199
|
-
|
200
|
-
<li class="public ">
|
201
|
-
<span class="summary_signature">
|
202
|
-
|
203
|
-
<a href="#render-instance_method" title="#render (instance method)">- (Object) <strong>render</strong> </a>
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
</span>
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
<span class="summary_desc"><div class='inline'>
|
218
|
-
<p>Render html tag.</p>
|
219
|
-
</div></span>
|
220
|
-
|
221
|
-
</li>
|
222
|
-
|
223
|
-
|
224
|
-
</ul>
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
237
|
-
<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>
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
|
248
|
-
<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>
|
249
|
-
|
250
|
-
<div id="constructor_details" class="method_details_list">
|
251
|
-
<h2>Constructor Details</h2>
|
252
|
-
|
253
|
-
<div class="method_details first">
|
254
|
-
<h3 class="signature first" id="initialize-instance_method">
|
255
|
-
|
256
|
-
- (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Core::ModalHeader (class)">ModalHeader</a></span></tt>) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &block)
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
</h3><div class="docstring">
|
263
|
-
<div class="discussion">
|
264
|
-
|
265
|
-
<p>See UiBibz::Ui::Core::Component.initialize</p>
|
266
|
-
|
267
|
-
|
268
|
-
</div>
|
269
|
-
</div>
|
270
|
-
<div class="tags">
|
271
|
-
|
272
|
-
|
273
|
-
</div><table class="source_code">
|
274
|
-
<tr>
|
275
|
-
<td>
|
276
|
-
<pre class="lines">
|
277
|
-
|
278
|
-
|
279
|
-
36
|
280
|
-
37
|
281
|
-
38</pre>
|
282
|
-
</td>
|
283
|
-
<td>
|
284
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/modal/components/modal_header.rb', line 36</span>
|
285
|
-
|
286
|
-
<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'>&</span><span class='id identifier rubyid_block'>block</span>
|
287
|
-
<span class='kw'>super</span>
|
288
|
-
<span class='kw'>end</span></pre>
|
289
|
-
</td>
|
290
|
-
</tr>
|
291
|
-
</table>
|
292
|
-
</div>
|
293
|
-
|
294
|
-
</div>
|
295
|
-
|
296
|
-
|
297
|
-
<div id="instance_method_details" class="method_details_list">
|
298
|
-
<h2>Instance Method Details</h2>
|
299
|
-
|
300
|
-
|
301
|
-
<div class="method_details first">
|
302
|
-
<h3 class="signature first" id="render-instance_method">
|
303
|
-
|
304
|
-
- (<tt>Object</tt>) <strong>render</strong>
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
</h3><div class="docstring">
|
311
|
-
<div class="discussion">
|
312
|
-
|
313
|
-
<p>Render html tag</p>
|
314
|
-
|
315
|
-
|
316
|
-
</div>
|
317
|
-
</div>
|
318
|
-
<div class="tags">
|
319
|
-
|
320
|
-
|
321
|
-
</div><table class="source_code">
|
322
|
-
<tr>
|
323
|
-
<td>
|
324
|
-
<pre class="lines">
|
325
|
-
|
326
|
-
|
327
|
-
41
|
328
|
-
42
|
329
|
-
43
|
330
|
-
44
|
331
|
-
45
|
332
|
-
46</pre>
|
333
|
-
</td>
|
334
|
-
<td>
|
335
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/modal/components/modal_header.rb', line 41</span>
|
336
|
-
|
337
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
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>
|
339
|
-
<span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_close_button_html'>close_button_html</span>
|
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>
|
341
|
-
<span class='kw'>end</span>
|
342
|
-
<span class='kw'>end</span></pre>
|
343
|
-
</td>
|
344
|
-
</tr>
|
345
|
-
</table>
|
346
|
-
</div>
|
347
|
-
|
348
|
-
</div>
|
349
|
-
|
350
|
-
</div>
|
351
|
-
|
352
|
-
<div id="footer">
|
353
|
-
Generated on Mon Oct 19 15:25:16 2015 by
|
354
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
355
|
-
0.8.7.6 (ruby-2.2.3).
|
356
|
-
</div>
|
357
|
-
|
358
|
-
</body>
|
359
|
-
</html>
|
data/doc/UiBibz/Ui/Core/Nav.html
DELETED
@@ -1,515 +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::Core::Nav
|
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/Core/Nav.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 (N)</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="../Core.html" title="UiBibz::Ui::Core (module)">Core</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">Nav</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::Nav
|
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::Nav</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/nav/nav.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 nav</p>
|
110
|
-
|
111
|
-
<p>This element is an extend of UiBibz::Ui::Core::Component.</p>
|
112
|
-
|
113
|
-
<h4 id="label-Attributes">Attributes</h4>
|
114
|
-
<ul><li>
|
115
|
-
<p><code>content</code> - Content of element</p>
|
116
|
-
</li><li>
|
117
|
-
<p><code>options</code> - Options of element</p>
|
118
|
-
</li><li>
|
119
|
-
<p><code>html_options</code> - Html Options of element</p>
|
120
|
-
</li></ul>
|
121
|
-
|
122
|
-
<h4 id="label-Options">Options</h4>
|
123
|
-
|
124
|
-
<p>You can add HTML attributes using the <code>html_options</code>. You can
|
125
|
-
pass arguments in options attribute:</p>
|
126
|
-
<ul><li>
|
127
|
-
<p><code>type</code> - Symbol (<code>:pills</code>, <code>:tab</code>)</p>
|
128
|
-
</li></ul>
|
129
|
-
|
130
|
-
<h4 id="label-Signatures">Signatures</h4>
|
131
|
-
|
132
|
-
<pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::Nav.new(content, options = nil, html_options = nil)
|
133
|
-
|
134
|
-
UiBibz::Ui::Core::Nav.new(options = nil, html_options = nil).tap do |n|
|
135
|
-
...
|
136
|
-
n.link content = nil, options = nil, html_options = nil, block
|
137
|
-
n.link content = nil, options = nil, html_options = nil, block
|
138
|
-
n.dropdown content = nil, options = nil, html_options = nil, block
|
139
|
-
...
|
140
|
-
end</code></pre>
|
141
|
-
|
142
|
-
<h4 id="label-Examples">Examples</h4>
|
143
|
-
|
144
|
-
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Nav</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'>:pills</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_n'>n</span><span class='op'>|</span>
|
145
|
-
<span class='id identifier rubyid_n'>n</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</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'>url:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#test</span><span class='tstring_end'>'</span></span>
|
146
|
-
<span class='id identifier rubyid_n'>n</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</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'>url:</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'>status:</span> <span class='symbol'>:active</span>
|
147
|
-
<span class='id identifier rubyid_n'>n</span><span class='period'>.</span><span class='id identifier rubyid_dropdown'>dropdown</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Action</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_d'>d</span><span class='op'>|</span>
|
148
|
-
<span class='id identifier rubyid_d'>d</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</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>
|
149
|
-
<span class='kw'>end</span>
|
150
|
-
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
151
|
-
</code></pre>
|
152
|
-
|
153
|
-
<h4 id="label-Helper">Helper</h4>
|
154
|
-
|
155
|
-
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_nav'>nav</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_n'>n</span><span class='op'>|</span>
|
156
|
-
<span class='id identifier rubyid_n'>n</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</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>
|
157
|
-
<span class='id identifier rubyid_n'>n</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</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>
|
158
|
-
<span class='id identifier rubyid_content'>content</span>
|
159
|
-
<span class='kw'>end</span>
|
160
|
-
<span class='id identifier rubyid_n'>n</span><span class='period'>.</span><span class='id identifier rubyid_dropdown'>dropdown</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</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> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_d'>d</span><span class='op'>|</span>
|
161
|
-
<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='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>
|
162
|
-
<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='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>
|
163
|
-
<span class='id identifier rubyid_content'>content</span>
|
164
|
-
<span class='kw'>end</span>
|
165
|
-
<span class='kw'>end</span>
|
166
|
-
<span class='kw'>end</span>
|
167
|
-
</code></pre>
|
168
|
-
|
169
|
-
|
170
|
-
</div>
|
171
|
-
</div>
|
172
|
-
<div class="tags">
|
173
|
-
|
174
|
-
|
175
|
-
</div><div id="subclasses">
|
176
|
-
<h2>Direct Known Subclasses</h2>
|
177
|
-
<p class="children"><span class='object_link'><a href="NavbarNav.html" title="UiBibz::Ui::Core::NavbarNav (class)">NavbarNav</a></span></p>
|
178
|
-
</div>
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
<h2>Instance Attribute Summary</h2>
|
186
|
-
|
187
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
188
|
-
<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>
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
|
193
|
-
<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>
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
<h2>
|
198
|
-
Instance Method Summary
|
199
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
200
|
-
</h2>
|
201
|
-
|
202
|
-
<ul class="summary">
|
203
|
-
|
204
|
-
<li class="public ">
|
205
|
-
<span class="summary_signature">
|
206
|
-
|
207
|
-
<a href="#dropdown-instance_method" title="#dropdown (instance method)">- (Object) <strong>dropdown</strong>(content = nil, options = {}, html_options = nil, &block) </a>
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
</span>
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
<span class="summary_desc"><div class='inline'>
|
222
|
-
<p>Add nav dropdown items See UiBibz::Ui::Core::NavDropdown.</p>
|
223
|
-
</div></span>
|
224
|
-
|
225
|
-
</li>
|
226
|
-
|
227
|
-
|
228
|
-
<li class="public ">
|
229
|
-
<span class="summary_signature">
|
230
|
-
|
231
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Nav) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &block) </a>
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
</span>
|
236
|
-
|
237
|
-
|
238
|
-
<span class="note title constructor">constructor</span>
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
<span class="summary_desc"><div class='inline'>
|
248
|
-
<p>See UiBibz::Ui::Core::Component.initialize.</p>
|
249
|
-
</div></span>
|
250
|
-
|
251
|
-
</li>
|
252
|
-
|
253
|
-
|
254
|
-
<li class="public ">
|
255
|
-
<span class="summary_signature">
|
256
|
-
|
257
|
-
<a href="#link-instance_method" title="#link (instance method)">- (Object) <strong>link</strong>(content = nil, options = {}, html_options = nil, &block) </a>
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
</span>
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
<span class="summary_desc"><div class='inline'>
|
272
|
-
<p>Add nav link items See UiBibz::Ui::Core::NavLink.</p>
|
273
|
-
</div></span>
|
274
|
-
|
275
|
-
</li>
|
276
|
-
|
277
|
-
|
278
|
-
<li class="public ">
|
279
|
-
<span class="summary_signature">
|
280
|
-
|
281
|
-
<a href="#render-instance_method" title="#render (instance method)">- (Object) <strong>render</strong> </a>
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
</span>
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
<span class="summary_desc"><div class='inline'>
|
296
|
-
<p>Render html tag.</p>
|
297
|
-
</div></span>
|
298
|
-
|
299
|
-
</li>
|
300
|
-
|
301
|
-
|
302
|
-
</ul>
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
315
|
-
<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>
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
|
326
|
-
<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>
|
327
|
-
|
328
|
-
<div id="constructor_details" class="method_details_list">
|
329
|
-
<h2>Constructor Details</h2>
|
330
|
-
|
331
|
-
<div class="method_details first">
|
332
|
-
<h3 class="signature first" id="initialize-instance_method">
|
333
|
-
|
334
|
-
- (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Core::Nav (class)">Nav</a></span></tt>) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &block)
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
</h3><div class="docstring">
|
341
|
-
<div class="discussion">
|
342
|
-
|
343
|
-
<p>See UiBibz::Ui::Core::Component.initialize</p>
|
344
|
-
|
345
|
-
|
346
|
-
</div>
|
347
|
-
</div>
|
348
|
-
<div class="tags">
|
349
|
-
|
350
|
-
|
351
|
-
</div><table class="source_code">
|
352
|
-
<tr>
|
353
|
-
<td>
|
354
|
-
<pre class="lines">
|
355
|
-
|
356
|
-
|
357
|
-
62
|
358
|
-
63
|
359
|
-
64
|
360
|
-
65</pre>
|
361
|
-
</td>
|
362
|
-
<td>
|
363
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/nav.rb', line 62</span>
|
364
|
-
|
365
|
-
<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'>&</span><span class='id identifier rubyid_block'>block</span>
|
366
|
-
<span class='kw'>super</span>
|
367
|
-
<span class='ivar'>@items</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
368
|
-
<span class='kw'>end</span></pre>
|
369
|
-
</td>
|
370
|
-
</tr>
|
371
|
-
</table>
|
372
|
-
</div>
|
373
|
-
|
374
|
-
</div>
|
375
|
-
|
376
|
-
|
377
|
-
<div id="instance_method_details" class="method_details_list">
|
378
|
-
<h2>Instance Method Details</h2>
|
379
|
-
|
380
|
-
|
381
|
-
<div class="method_details first">
|
382
|
-
<h3 class="signature first" id="dropdown-instance_method">
|
383
|
-
|
384
|
-
- (<tt>Object</tt>) <strong>dropdown</strong>(content = nil, options = {}, html_options = nil, &block)
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
</h3><div class="docstring">
|
391
|
-
<div class="discussion">
|
392
|
-
|
393
|
-
<p>Add nav dropdown items See UiBibz::Ui::Core::NavDropdown</p>
|
394
|
-
|
395
|
-
|
396
|
-
</div>
|
397
|
-
</div>
|
398
|
-
<div class="tags">
|
399
|
-
|
400
|
-
|
401
|
-
</div><table class="source_code">
|
402
|
-
<tr>
|
403
|
-
<td>
|
404
|
-
<pre class="lines">
|
405
|
-
|
406
|
-
|
407
|
-
80
|
408
|
-
81
|
409
|
-
82</pre>
|
410
|
-
</td>
|
411
|
-
<td>
|
412
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/nav.rb', line 80</span>
|
413
|
-
|
414
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_dropdown'>dropdown</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='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='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
415
|
-
<span class='ivar'>@items</span> <span class='op'><<</span> <span class='const'>NavDropdown</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='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
416
|
-
<span class='kw'>end</span></pre>
|
417
|
-
</td>
|
418
|
-
</tr>
|
419
|
-
</table>
|
420
|
-
</div>
|
421
|
-
|
422
|
-
<div class="method_details ">
|
423
|
-
<h3 class="signature " id="link-instance_method">
|
424
|
-
|
425
|
-
- (<tt>Object</tt>) <strong>link</strong>(content = nil, options = {}, html_options = nil, &block)
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
</h3><div class="docstring">
|
432
|
-
<div class="discussion">
|
433
|
-
|
434
|
-
<p>Add nav link items See UiBibz::Ui::Core::NavLink</p>
|
435
|
-
|
436
|
-
|
437
|
-
</div>
|
438
|
-
</div>
|
439
|
-
<div class="tags">
|
440
|
-
|
441
|
-
|
442
|
-
</div><table class="source_code">
|
443
|
-
<tr>
|
444
|
-
<td>
|
445
|
-
<pre class="lines">
|
446
|
-
|
447
|
-
|
448
|
-
74
|
449
|
-
75
|
450
|
-
76</pre>
|
451
|
-
</td>
|
452
|
-
<td>
|
453
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/nav.rb', line 74</span>
|
454
|
-
|
455
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_link'>link</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='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='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
456
|
-
<span class='ivar'>@items</span> <span class='op'><<</span> <span class='const'>NavLink</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='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>nav_type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</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><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
457
|
-
<span class='kw'>end</span></pre>
|
458
|
-
</td>
|
459
|
-
</tr>
|
460
|
-
</table>
|
461
|
-
</div>
|
462
|
-
|
463
|
-
<div class="method_details ">
|
464
|
-
<h3 class="signature " id="render-instance_method">
|
465
|
-
|
466
|
-
- (<tt>Object</tt>) <strong>render</strong>
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
</h3><div class="docstring">
|
473
|
-
<div class="discussion">
|
474
|
-
|
475
|
-
<p>Render html tag</p>
|
476
|
-
|
477
|
-
|
478
|
-
</div>
|
479
|
-
</div>
|
480
|
-
<div class="tags">
|
481
|
-
|
482
|
-
|
483
|
-
</div><table class="source_code">
|
484
|
-
<tr>
|
485
|
-
<td>
|
486
|
-
<pre class="lines">
|
487
|
-
|
488
|
-
|
489
|
-
68
|
490
|
-
69
|
491
|
-
70</pre>
|
492
|
-
</td>
|
493
|
-
<td>
|
494
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/nav.rb', line 68</span>
|
495
|
-
|
496
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
497
|
-
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:ul</span><span class='comma'>,</span> <span class='ivar'>@items</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='period'>.</span><span class='id identifier rubyid_html_safe'>html_safe</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'>nav</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_position'>position</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
498
|
-
<span class='kw'>end</span></pre>
|
499
|
-
</td>
|
500
|
-
</tr>
|
501
|
-
</table>
|
502
|
-
</div>
|
503
|
-
|
504
|
-
</div>
|
505
|
-
|
506
|
-
</div>
|
507
|
-
|
508
|
-
<div id="footer">
|
509
|
-
Generated on Mon Oct 19 15:25:14 2015 by
|
510
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
511
|
-
0.8.7.6 (ruby-2.2.3).
|
512
|
-
</div>
|
513
|
-
|
514
|
-
</body>
|
515
|
-
</html>
|