ui_bibz 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +13 -5
  2. data/.gitignore +1 -1
  3. data/.yardoc/checksums +52 -0
  4. data/.yardoc/object_types +0 -0
  5. data/.yardoc/objects/root.dat +0 -0
  6. data/.yardoc/proxy_types +0 -0
  7. data/Gemfile +1 -1
  8. data/Gemfile.lock +11 -21
  9. data/README.md +359 -239
  10. data/Rakefile +12 -13
  11. data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +174 -0
  12. data/doc/UiBibz/Concerns/Models/Searchable.html +120 -0
  13. data/doc/UiBibz/Helpers/MetaHelper.html +218 -0
  14. data/doc/UiBibz/Helpers/UiCoreHelper.html +1130 -0
  15. data/doc/UiBibz/Helpers/UiUxHelper.html +463 -0
  16. data/doc/UiBibz/Helpers/UtilsHelper.html +187 -0
  17. data/doc/UiBibz/Rails/Engine.html +123 -0
  18. data/doc/UiBibz/Rails.html +115 -0
  19. data/doc/UiBibz/Ui/Base.html +304 -0
  20. data/doc/UiBibz/Ui/Core/Alert.html +367 -0
  21. data/doc/UiBibz/Ui/Core/Bar.html +356 -0
  22. data/doc/UiBibz/Ui/Core/Breadcrumb.html +427 -0
  23. data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +354 -0
  24. data/doc/UiBibz/Ui/Core/Button.html +363 -0
  25. data/doc/UiBibz/Ui/Core/ButtonDropdown.html +385 -0
  26. data/doc/UiBibz/Ui/Core/ButtonGroup.html +356 -0
  27. data/doc/UiBibz/Ui/Core/ButtonLink.html +365 -0
  28. data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +387 -0
  29. data/doc/UiBibz/Ui/Core/Col.html +357 -0
  30. data/doc/UiBibz/Ui/Core/Component.html +1144 -0
  31. data/doc/UiBibz/Ui/Core/Dropdown.html +877 -0
  32. data/doc/UiBibz/Ui/Core/DropdownList.html +369 -0
  33. data/doc/UiBibz/Ui/Core/Glyph.html +742 -0
  34. data/doc/UiBibz/Ui/Core/Jumbotron.html +363 -0
  35. data/doc/UiBibz/Ui/Core/Label.html +361 -0
  36. data/doc/UiBibz/Ui/Core/List.html +486 -0
  37. data/doc/UiBibz/Ui/Core/ListGroup.html +446 -0
  38. data/doc/UiBibz/Ui/Core/Nav.html +474 -0
  39. data/doc/UiBibz/Ui/Core/NavDropdown.html +376 -0
  40. data/doc/UiBibz/Ui/Core/NavLink.html +347 -0
  41. data/doc/UiBibz/Ui/Core/Navbar.html +535 -0
  42. data/doc/UiBibz/Ui/Core/NavbarForm.html +341 -0
  43. data/doc/UiBibz/Ui/Core/NavbarNav.html +301 -0
  44. data/doc/UiBibz/Ui/Core/NavbarText.html +341 -0
  45. data/doc/UiBibz/Ui/Core/Panel.html +806 -0
  46. data/doc/UiBibz/Ui/Core/ProgressBar.html +433 -0
  47. data/doc/UiBibz/Ui/Core/Row.html +335 -0
  48. data/doc/UiBibz/Ui/Core.html +117 -0
  49. data/doc/UiBibz/Ui/Ux/Actionable.html +478 -0
  50. data/doc/UiBibz/Ui/Ux/Actions.html +314 -0
  51. data/doc/UiBibz/Ui/Ux/Column.html +1177 -0
  52. data/doc/UiBibz/Ui/Ux/Columns.html +312 -0
  53. data/doc/UiBibz/Ui/Ux/Grid.html +823 -0
  54. data/doc/UiBibz/Ui/Ux/Paginable.html +368 -0
  55. data/doc/UiBibz/Ui/Ux/Searchable.html +363 -0
  56. data/doc/UiBibz/Ui/Ux/Sortable.html +289 -0
  57. data/doc/UiBibz/Ui/Ux/Store.html +968 -0
  58. data/doc/UiBibz/Ui/Ux/Table.html +957 -0
  59. data/doc/UiBibz/Ui/Ux/TableAction.html +309 -0
  60. data/doc/UiBibz/Ui/Ux/TablePagination.html +319 -0
  61. data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +331 -0
  62. data/doc/UiBibz/Ui/Ux/TablePanel.html +576 -0
  63. data/doc/UiBibz/Ui/Ux/TableSearchField.html +291 -0
  64. data/doc/UiBibz/Ui/Ux.html +117 -0
  65. data/doc/UiBibz/Ui.html +117 -0
  66. data/doc/UiBibz/Utils/Internationalization.html +262 -0
  67. data/doc/UiBibz/Utils.html +115 -0
  68. data/doc/UiBibz.html +129 -0
  69. data/doc/_index.html +635 -0
  70. data/doc/class_list.html +58 -0
  71. data/doc/css/common.css +1 -0
  72. data/doc/css/full_list.css +57 -0
  73. data/doc/css/style.css +339 -0
  74. data/doc/file.README.html +1022 -0
  75. data/doc/file_list.html +60 -0
  76. data/doc/frames.html +26 -0
  77. data/doc/images/navbar.png +0 -0
  78. data/doc/index.html +1022 -0
  79. data/doc/js/app.js +219 -0
  80. data/doc/js/full_list.js +181 -0
  81. data/doc/js/jquery.js +4 -0
  82. data/doc/method_list.html +1335 -0
  83. data/doc/top-level-namespace.html +112 -0
  84. data/lib/ui_bibz/helpers/ui_core_helper.rb +94 -0
  85. data/lib/ui_bibz/helpers/ui_ux_helper.rb +43 -0
  86. data/lib/ui_bibz/rails/engine.rb +2 -1
  87. data/lib/ui_bibz/ui/{ui.rb → base.rb} +1 -1
  88. data/lib/ui_bibz/ui/{alert.rb → core/alert.rb} +15 -7
  89. data/lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb +71 -0
  90. data/lib/ui_bibz/ui/{breadcrumb → core/breadcrumb}/components/breadcrumb_link.rb +6 -6
  91. data/lib/ui_bibz/ui/{button → core/button}/button.rb +13 -6
  92. data/lib/ui_bibz/ui/{button → core/button}/button_dropdown.rb +15 -4
  93. data/lib/ui_bibz/ui/{button → core/button}/button_group.rb +14 -6
  94. data/lib/ui_bibz/ui/{button → core/button}/button_link.rb +14 -6
  95. data/lib/ui_bibz/ui/{button → core/button}/button_split_dropdown.rb +15 -4
  96. data/lib/ui_bibz/ui/{grid/components → core}/col.rb +12 -6
  97. data/lib/ui_bibz/ui/{component.rb → core/component.rb} +7 -7
  98. data/lib/ui_bibz/ui/{dropdown → core/dropdown}/components/dropdown_list.rb +7 -7
  99. data/lib/ui_bibz/ui/{dropdown → core/dropdown}/dropdown.rb +18 -7
  100. data/lib/ui_bibz/ui/{glyph.rb → core/glyph.rb} +18 -10
  101. data/lib/ui_bibz/ui/{jumbotron.rb → core/jumbotron.rb} +14 -6
  102. data/lib/ui_bibz/ui/{label.rb → core/label.rb} +14 -6
  103. data/lib/ui_bibz/ui/{list → core/list}/components/list.rb +8 -8
  104. data/lib/ui_bibz/ui/{list → core/list}/list_group.rb +28 -6
  105. data/lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb +64 -0
  106. data/lib/ui_bibz/ui/{nav → core/nav}/components/nav_link.rb +6 -6
  107. data/lib/ui_bibz/ui/core/nav/components/navbar_form.rb +45 -0
  108. data/lib/ui_bibz/ui/core/nav/components/navbar_nav.rb +56 -0
  109. data/lib/ui_bibz/ui/core/nav/components/navbar_text.rb +45 -0
  110. data/lib/ui_bibz/ui/core/nav/nav.rb +90 -0
  111. data/lib/ui_bibz/ui/core/nav/navbar.rb +121 -0
  112. data/lib/ui_bibz/ui/{panel.rb → core/panel.rb} +36 -8
  113. data/lib/ui_bibz/ui/{progress_bar → core/progress_bar}/components/bar.rb +7 -7
  114. data/lib/ui_bibz/ui/{progress_bar → core/progress_bar}/progress_bar.rb +20 -9
  115. data/lib/ui_bibz/ui/{grid/components → core}/row.rb +12 -4
  116. data/lib/ui_bibz/ui/{grid → ux}/grid.rb +17 -8
  117. data/lib/ui_bibz/ui/{table → ux/table}/components/actions.rb +5 -5
  118. data/lib/ui_bibz/ui/ux/table/components/column.rb +34 -0
  119. data/lib/ui_bibz/ui/ux/table/components/columns.rb +16 -0
  120. data/lib/ui_bibz/ui/{table → ux/table}/components/store.rb +4 -4
  121. data/lib/ui_bibz/ui/{table → ux/table}/components/table_action.rb +2 -2
  122. data/lib/ui_bibz/ui/{table/ux → ux/table/extensions}/actionable.rb +3 -3
  123. data/lib/ui_bibz/ui/{table/ux → ux/table/extensions}/paginable.rb +5 -5
  124. data/lib/ui_bibz/ui/{table/ux → ux/table/extensions}/searchable.rb +4 -4
  125. data/lib/ui_bibz/ui/{table/ux → ux/table/extensions}/sortable.rb +3 -3
  126. data/lib/ui_bibz/ui/{table → ux/table}/table.rb +40 -22
  127. data/lib/ui_bibz/ui/ux/table/table_pagination.rb +51 -0
  128. data/lib/ui_bibz/ui/{table → ux/table}/table_pagination_per_page.rb +26 -4
  129. data/lib/ui_bibz/ui/ux/table/table_panel.rb +155 -0
  130. data/lib/ui_bibz/ui/{table → ux/table}/table_search_field.rb +7 -7
  131. data/lib/ui_bibz/version.rb +1 -1
  132. data/lib/ui_bibz.rb +40 -29
  133. data/test/store_test.rb +2 -2
  134. data/test/ui/button_test.rb +6 -6
  135. data/test/ui/component_test.rb +2 -2
  136. data/test/ui/dropdown_test.rb +1 -1
  137. data/test/ui/glyph_test.rb +3 -3
  138. data/test/ui/grid_test.rb +4 -4
  139. data/test/ui/list_group_test.rb +2 -2
  140. data/test/ui/nav_test.rb +3 -4
  141. data/test/ui/panel_test.rb +4 -4
  142. data/test/ui/table_test.rb +32 -32
  143. data/test/ui_helper_test.rb +18 -2
  144. data/ui_bibz.gemspec +1 -0
  145. data/vendor/assets/stylesheets/ui_bibz.sass +3 -0
  146. metadata +166 -132
  147. data/README.rdoc +0 -0
  148. data/lib/ui_bibz/helpers/ui_helper.rb +0 -119
  149. data/lib/ui_bibz/ui/breadcrumb/breadcrumb.rb +0 -54
  150. data/lib/ui_bibz/ui/nav/nav.rb +0 -65
  151. data/lib/ui_bibz/ui/table/components/column.rb +0 -34
  152. data/lib/ui_bibz/ui/table/components/columns.rb +0 -16
  153. data/lib/ui_bibz/ui/table/table_pagination.rb +0 -29
  154. data/lib/ui_bibz/ui/table/table_panel.rb +0 -66
@@ -0,0 +1,877 @@
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::Dropdown
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/Dropdown.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 (D)</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">Dropdown</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::Dropdown
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::Dropdown</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/dropdown/dropdown.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 dropdown</p>
110
+
111
+ <p>This element is an extend of UiBibz::Ui::Core::Component. You can use tap
112
+ method to add list items.</p>
113
+
114
+ <h4>Attributes</h4>
115
+ <ul><li>
116
+ <p><tt>content</tt> - Content of element</p>
117
+ </li><li>
118
+ <p><tt>options</tt> - Options of element</p>
119
+ </li><li>
120
+ <p><tt>html_options</tt> - Html Options of element</p>
121
+ </li></ul>
122
+
123
+ <h4>Options</h4>
124
+
125
+ <p>You can add HTML attributes using the <tt>html_options</tt>. You can pass
126
+ arguments in options attribute:</p>
127
+ <ul><li>
128
+ <p><tt>state</tt> - State of élement with symbol value: (<tt>:default</tt>,
129
+ <tt>:primary</tt>, <tt>:info</tt>, <tt>:warning</tt>, <tt>:danger</tt>)</p>
130
+ </li><li>
131
+ <p><tt>size</tt> (<tt>:xs</tt>, <tt>:sm</tt>, <tt>:lg</tt>)</p>
132
+ </li><li>
133
+ <p><tt>glyph</tt> - Add glyph with name or hash options</p>
134
+ <ul><li>
135
+ <p><tt>name</tt> - String</p>
136
+ </li><li>
137
+ <p><tt>size</tt> - Integer</p>
138
+ </li><li>
139
+ <p><tt>type</tt> - Symbol</p>
140
+ </li></ul>
141
+ </li></ul>
142
+
143
+ <h4>Signatures</h4>
144
+
145
+ <pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::Dropdown.new(options = nil, html_options = nil).tap do |d|
146
+ d.list content = nil, options = nil, html_options = nil, &amp;block
147
+ d.list content = nil, options = nil, html_options = nil, &amp;block
148
+ d.list content = nil, options = nil, html_options = nil, &amp;block
149
+ ...
150
+ end</code></pre>
151
+
152
+ <h4>Examples</h4>
153
+
154
+ <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'>Dropdown</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='label'>state:</span> <span class='symbol'>:success</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_d'>d</span><span class='op'>|</span>
155
+ <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_link_to'>link_to</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>test</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
156
+ <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='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>---</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
157
+ <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='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Header 1</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='symbol'>:header</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
158
+ <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_link_to'>link_to</span><span class='lparen'>(</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='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
159
+ <span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span></code></pre>
160
+
161
+ <h4>Helper</h4>
162
+
163
+ <pre class="code ruby"><code class="ruby"><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='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_d'>d</span><span class='op'>|</span>
164
+ <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>
165
+ <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>
166
+ <span class='id identifier rubyid_content'>content</span>
167
+ <span class='kw'>end</span>
168
+ <span class='kw'>end</span></code></pre>
169
+
170
+
171
+ </div>
172
+ </div>
173
+ <div class="tags">
174
+
175
+
176
+ </div><div id="subclasses">
177
+ <h2>Direct Known Subclasses</h2>
178
+ <p class="children"><span class='object_link'><a href="ButtonDropdown.html" title="UiBibz::Ui::Core::ButtonDropdown (class)">ButtonDropdown</a></span>, <span class='object_link'><a href="ButtonSplitDropdown.html" title="UiBibz::Ui::Core::ButtonSplitDropdown (class)">ButtonSplitDropdown</a></span>, <span class='object_link'><a href="NavDropdown.html" title="UiBibz::Ui::Core::NavDropdown (class)">NavDropdown</a></span></p>
179
+ </div>
180
+
181
+
182
+
183
+
184
+
185
+
186
+ <h2>Instance Attribute Summary</h2>
187
+
188
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
189
+ <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>
190
+
191
+
192
+
193
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
194
+ <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>
195
+
196
+
197
+
198
+ <h2>
199
+ Instance Method Summary
200
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
201
+ </h2>
202
+
203
+ <ul class="summary">
204
+
205
+ <li class="protected ">
206
+ <span class="summary_signature">
207
+
208
+ <a href="#button_content-instance_method" title="#button_content (instance method)">- (Object) <strong>button_content</strong> </a>
209
+
210
+
211
+
212
+ </span>
213
+
214
+
215
+
216
+ <span class="note title protected">protected</span>
217
+
218
+
219
+
220
+
221
+
222
+ <span class="summary_desc"><div class='inline'></div></span>
223
+
224
+ </li>
225
+
226
+
227
+ <li class="protected ">
228
+ <span class="summary_signature">
229
+
230
+ <a href="#button_html-instance_method" title="#button_html (instance method)">- (Object) <strong>button_html</strong> </a>
231
+
232
+
233
+
234
+ </span>
235
+
236
+
237
+
238
+ <span class="note title protected">protected</span>
239
+
240
+
241
+
242
+
243
+
244
+ <span class="summary_desc"><div class='inline'></div></span>
245
+
246
+ </li>
247
+
248
+
249
+ <li class="protected ">
250
+ <span class="summary_signature">
251
+
252
+ <a href="#button_state-instance_method" title="#button_state (instance method)">- (Object) <strong>button_state</strong> </a>
253
+
254
+
255
+
256
+ </span>
257
+
258
+
259
+
260
+ <span class="note title protected">protected</span>
261
+
262
+
263
+
264
+
265
+
266
+ <span class="summary_desc"><div class='inline'></div></span>
267
+
268
+ </li>
269
+
270
+
271
+ <li class="protected ">
272
+ <span class="summary_signature">
273
+
274
+ <a href="#caret-instance_method" title="#caret (instance method)">- (Object) <strong>caret</strong> </a>
275
+
276
+
277
+
278
+ </span>
279
+
280
+
281
+
282
+ <span class="note title protected">protected</span>
283
+
284
+
285
+
286
+
287
+
288
+ <span class="summary_desc"><div class='inline'></div></span>
289
+
290
+ </li>
291
+
292
+
293
+ <li class="public ">
294
+ <span class="summary_signature">
295
+
296
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Dropdown) <strong>initialize</strong>(content, options = nil, html_options = nil, &amp;block) </a>
297
+
298
+
299
+
300
+ </span>
301
+
302
+
303
+ <span class="note title constructor">constructor</span>
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+ <span class="summary_desc"><div class='inline'>
313
+ <p>A new instance of Dropdown.</p>
314
+ </div></span>
315
+
316
+ </li>
317
+
318
+
319
+ <li class="public ">
320
+ <span class="summary_signature">
321
+
322
+ <a href="#list-instance_method" title="#list (instance method)">- (Object) <strong>list</strong>(content = nil, options = nil, html_options = nil, &amp;block) </a>
323
+
324
+
325
+
326
+ </span>
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+ <span class="summary_desc"><div class='inline'>
337
+ <p>See UiBibz::Ui::Core::DropdownList.</p>
338
+ </div></span>
339
+
340
+ </li>
341
+
342
+
343
+ <li class="protected ">
344
+ <span class="summary_signature">
345
+
346
+ <a href="#position-instance_method" title="#position (instance method)">- (Object) <strong>position</strong> </a>
347
+
348
+
349
+
350
+ </span>
351
+
352
+
353
+
354
+ <span class="note title protected">protected</span>
355
+
356
+
357
+
358
+
359
+
360
+ <span class="summary_desc"><div class='inline'></div></span>
361
+
362
+ </li>
363
+
364
+
365
+ <li class="public ">
366
+ <span class="summary_signature">
367
+
368
+ <a href="#render-instance_method" title="#render (instance method)">- (Object) <strong>render</strong> </a>
369
+
370
+
371
+
372
+ </span>
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+ <span class="summary_desc"><div class='inline'></div></span>
383
+
384
+ </li>
385
+
386
+
387
+ <li class="protected ">
388
+ <span class="summary_signature">
389
+
390
+ <a href="#size-instance_method" title="#size (instance method)">- (Object) <strong>size</strong> </a>
391
+
392
+
393
+
394
+ </span>
395
+
396
+
397
+
398
+ <span class="note title protected">protected</span>
399
+
400
+
401
+
402
+
403
+
404
+ <span class="summary_desc"><div class='inline'>
405
+ <p>:lg, :sm or :xs.</p>
406
+ </div></span>
407
+
408
+ </li>
409
+
410
+
411
+ <li class="protected ">
412
+ <span class="summary_signature">
413
+
414
+ <a href="#type-instance_method" title="#type (instance method)">- (Object) <strong>type</strong> </a>
415
+
416
+
417
+
418
+ </span>
419
+
420
+
421
+
422
+ <span class="note title protected">protected</span>
423
+
424
+
425
+
426
+
427
+
428
+ <span class="summary_desc"><div class='inline'></div></span>
429
+
430
+ </li>
431
+
432
+
433
+ <li class="protected ">
434
+ <span class="summary_signature">
435
+
436
+ <a href="#ul_html-instance_method" title="#ul_html (instance method)">- (Object) <strong>ul_html</strong> </a>
437
+
438
+
439
+
440
+ </span>
441
+
442
+
443
+
444
+ <span class="note title protected">protected</span>
445
+
446
+
447
+
448
+
449
+
450
+ <span class="summary_desc"><div class='inline'></div></span>
451
+
452
+ </li>
453
+
454
+
455
+ </ul>
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
468
+ <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#options_in_html_options-instance_method" title="UiBibz::Ui::Core::Component#options_in_html_options (method)">#options_in_html_options</a></span>, <span class='object_link'><a href="Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span>, <span class='object_link'><a href="Component.html#states-instance_method" title="UiBibz::Ui::Core::Component#states (method)">#states</a></span>, <span class='object_link'><a href="Component.html#status-instance_method" title="UiBibz::Ui::Core::Component#status (method)">#status</a></span></p>
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
479
+ <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>
480
+
481
+ <div id="constructor_details" class="method_details_list">
482
+ <h2>Constructor Details</h2>
483
+
484
+ <div class="method_details first">
485
+ <h3 class="signature first" id="initialize-instance_method">
486
+
487
+ - (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Core::Dropdown (class)">Dropdown</a></span></tt>) <strong>initialize</strong>(content, options = nil, html_options = nil, &amp;block)
488
+
489
+
490
+
491
+
492
+
493
+ </h3><div class="docstring">
494
+ <div class="discussion">
495
+
496
+ <p>Returns a new instance of Dropdown</p>
497
+
498
+
499
+ </div>
500
+ </div>
501
+ <div class="tags">
502
+
503
+
504
+ </div><table class="source_code">
505
+ <tr>
506
+ <td>
507
+ <pre class="lines">
508
+
509
+
510
+ 57
511
+ 58
512
+ 59
513
+ 60
514
+ 61</pre>
515
+ </td>
516
+ <td>
517
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/dropdown/dropdown.rb', line 57</span>
518
+
519
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</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='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
520
+ <span class='kw'>super</span>
521
+ <span class='ivar'>@lists</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
522
+ <span class='ivar'>@state</span> <span class='op'>=</span> <span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='symbol'>:state</span><span class='rparen'>)</span>
523
+ <span class='kw'>end</span></pre>
524
+ </td>
525
+ </tr>
526
+ </table>
527
+ </div>
528
+
529
+ </div>
530
+
531
+
532
+ <div id="instance_method_details" class="method_details_list">
533
+ <h2>Instance Method Details</h2>
534
+
535
+
536
+ <div class="method_details first">
537
+ <h3 class="signature first" id="button_content-instance_method">
538
+
539
+ - (<tt>Object</tt>) <strong>button_content</strong> <span class="extras">(protected)</span>
540
+
541
+
542
+
543
+
544
+
545
+ </h3><table class="source_code">
546
+ <tr>
547
+ <td>
548
+ <pre class="lines">
549
+
550
+
551
+ 77
552
+ 78
553
+ 79</pre>
554
+ </td>
555
+ <td>
556
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/dropdown/dropdown.rb', line 77</span>
557
+
558
+ <span class='kw'>def</span> <span class='id identifier rubyid_button_content'>button_content</span>
559
+ <span class='lbracket'>[</span><span class='id identifier rubyid_glyph_with_space'>glyph_with_space</span><span class='comma'>,</span> <span class='ivar'>@content</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_caret'>caret</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</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>
560
+ <span class='kw'>end</span></pre>
561
+ </td>
562
+ </tr>
563
+ </table>
564
+ </div>
565
+
566
+ <div class="method_details ">
567
+ <h3 class="signature " id="button_html-instance_method">
568
+
569
+ - (<tt>Object</tt>) <strong>button_html</strong> <span class="extras">(protected)</span>
570
+
571
+
572
+
573
+
574
+
575
+ </h3><table class="source_code">
576
+ <tr>
577
+ <td>
578
+ <pre class="lines">
579
+
580
+
581
+ 81
582
+ 82
583
+ 83</pre>
584
+ </td>
585
+ <td>
586
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/dropdown/dropdown.rb', line 81</span>
587
+
588
+ <span class='kw'>def</span> <span class='id identifier rubyid_button_html'>button_html</span>
589
+ <span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:button</span><span class='comma'>,</span> <span class='id identifier rubyid_button_content'>button_content</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='id identifier rubyid_add_classes'>add_classes</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>btn</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_button_state'>button_state</span><span class='comma'>,</span> <span class='id identifier rubyid_size'>size</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>dropdown-toggle</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='comma'>,</span> <span class='label'>type:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>button</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>data-toggle</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>dropdown</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>aria-expanded</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='kw'>false</span>
590
+ <span class='kw'>end</span></pre>
591
+ </td>
592
+ </tr>
593
+ </table>
594
+ </div>
595
+
596
+ <div class="method_details ">
597
+ <h3 class="signature " id="button_state-instance_method">
598
+
599
+ - (<tt>Object</tt>) <strong>button_state</strong> <span class="extras">(protected)</span>
600
+
601
+
602
+
603
+
604
+
605
+ </h3><table class="source_code">
606
+ <tr>
607
+ <td>
608
+ <pre class="lines">
609
+
610
+
611
+ 101
612
+ 102
613
+ 103
614
+ 104</pre>
615
+ </td>
616
+ <td>
617
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/dropdown/dropdown.rb', line 101</span>
618
+
619
+ <span class='kw'>def</span> <span class='id identifier rubyid_button_state'>button_state</span>
620
+ <span class='id identifier rubyid_sym'>sym</span> <span class='op'>=</span> <span class='ivar'>@state</span> <span class='op'>||</span> <span class='symbol'>:default</span>
621
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>btn-</span><span class='embexpr_beg'>#{</span> <span class='id identifier rubyid_states'>states</span><span class='lbracket'>[</span><span class='id identifier rubyid_sym'>sym</span><span class='rbracket'>]</span> <span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
622
+ <span class='kw'>end</span></pre>
623
+ </td>
624
+ </tr>
625
+ </table>
626
+ </div>
627
+
628
+ <div class="method_details ">
629
+ <h3 class="signature " id="caret-instance_method">
630
+
631
+ - (<tt>Object</tt>) <strong>caret</strong> <span class="extras">(protected)</span>
632
+
633
+
634
+
635
+
636
+
637
+ </h3><table class="source_code">
638
+ <tr>
639
+ <td>
640
+ <pre class="lines">
641
+
642
+
643
+ 89
644
+ 90
645
+ 91</pre>
646
+ </td>
647
+ <td>
648
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/dropdown/dropdown.rb', line 89</span>
649
+
650
+ <span class='kw'>def</span> <span class='id identifier rubyid_caret'>caret</span>
651
+ <span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:span</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>caret</span><span class='tstring_end'>'</span></span>
652
+ <span class='kw'>end</span></pre>
653
+ </td>
654
+ </tr>
655
+ </table>
656
+ </div>
657
+
658
+ <div class="method_details ">
659
+ <h3 class="signature " id="list-instance_method">
660
+
661
+ - (<tt>Object</tt>) <strong>list</strong>(content = nil, options = nil, html_options = nil, &amp;block)
662
+
663
+
664
+
665
+
666
+
667
+ </h3><div class="docstring">
668
+ <div class="discussion">
669
+
670
+ <p>See UiBibz::Ui::Core::DropdownList</p>
671
+
672
+
673
+ </div>
674
+ </div>
675
+ <div class="tags">
676
+
677
+
678
+ </div><table class="source_code">
679
+ <tr>
680
+ <td>
681
+ <pre class="lines">
682
+
683
+
684
+ 71
685
+ 72
686
+ 73</pre>
687
+ </td>
688
+ <td>
689
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/dropdown/dropdown.rb', line 71</span>
690
+
691
+ <span class='kw'>def</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'>&amp;</span><span class='id identifier rubyid_block'>block</span>
692
+ <span class='ivar'>@lists</span> <span class='op'>&lt;&lt;</span> <span class='const'>DropdownList</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='comma'>,</span> <span class='op'>&amp;</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>
693
+ <span class='kw'>end</span></pre>
694
+ </td>
695
+ </tr>
696
+ </table>
697
+ </div>
698
+
699
+ <div class="method_details ">
700
+ <h3 class="signature " id="position-instance_method">
701
+
702
+ - (<tt>Object</tt>) <strong>position</strong> <span class="extras">(protected)</span>
703
+
704
+
705
+
706
+
707
+
708
+ </h3><table class="source_code">
709
+ <tr>
710
+ <td>
711
+ <pre class="lines">
712
+
713
+
714
+ 93
715
+ 94
716
+ 95</pre>
717
+ </td>
718
+ <td>
719
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/dropdown/dropdown.rb', line 93</span>
720
+
721
+ <span class='kw'>def</span> <span class='id identifier rubyid_position'>position</span>
722
+ <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:position</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>left</span><span class='tstring_end'>'</span></span>
723
+ <span class='kw'>end</span></pre>
724
+ </td>
725
+ </tr>
726
+ </table>
727
+ </div>
728
+
729
+ <div class="method_details ">
730
+ <h3 class="signature " id="render-instance_method">
731
+
732
+ - (<tt>Object</tt>) <strong>render</strong>
733
+
734
+
735
+
736
+
737
+
738
+ </h3><table class="source_code">
739
+ <tr>
740
+ <td>
741
+ <pre class="lines">
742
+
743
+
744
+ 63
745
+ 64
746
+ 65
747
+ 66
748
+ 67
749
+ 68</pre>
750
+ </td>
751
+ <td>
752
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/dropdown/dropdown.rb', line 63</span>
753
+
754
+ <span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
755
+ <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='id identifier rubyid_type'>type</span><span class='rparen'>)</span> <span class='kw'>do</span>
756
+ <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_button_html'>button_html</span>
757
+ <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_ul_html'>ul_html</span>
758
+ <span class='kw'>end</span>
759
+ <span class='kw'>end</span></pre>
760
+ </td>
761
+ </tr>
762
+ </table>
763
+ </div>
764
+
765
+ <div class="method_details ">
766
+ <h3 class="signature " id="size-instance_method">
767
+
768
+ - (<tt>Object</tt>) <strong>size</strong> <span class="extras">(protected)</span>
769
+
770
+
771
+
772
+
773
+
774
+ </h3><div class="docstring">
775
+ <div class="discussion">
776
+
777
+ <p>:lg, :sm or :xs</p>
778
+
779
+
780
+ </div>
781
+ </div>
782
+ <div class="tags">
783
+
784
+
785
+ </div><table class="source_code">
786
+ <tr>
787
+ <td>
788
+ <pre class="lines">
789
+
790
+
791
+ 107
792
+ 108
793
+ 109</pre>
794
+ </td>
795
+ <td>
796
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/dropdown/dropdown.rb', line 107</span>
797
+
798
+ <span class='kw'>def</span> <span class='id identifier rubyid_size'>size</span>
799
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>btn-</span><span class='embexpr_beg'>#{</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span>
800
+ <span class='kw'>end</span></pre>
801
+ </td>
802
+ </tr>
803
+ </table>
804
+ </div>
805
+
806
+ <div class="method_details ">
807
+ <h3 class="signature " id="type-instance_method">
808
+
809
+ - (<tt>Object</tt>) <strong>type</strong> <span class="extras">(protected)</span>
810
+
811
+
812
+
813
+
814
+
815
+ </h3><table class="source_code">
816
+ <tr>
817
+ <td>
818
+ <pre class="lines">
819
+
820
+
821
+ 97
822
+ 98
823
+ 99</pre>
824
+ </td>
825
+ <td>
826
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/dropdown/dropdown.rb', line 97</span>
827
+
828
+ <span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
829
+ <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:type</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>dropdown</span><span class='tstring_end'>'</span></span>
830
+ <span class='kw'>end</span></pre>
831
+ </td>
832
+ </tr>
833
+ </table>
834
+ </div>
835
+
836
+ <div class="method_details ">
837
+ <h3 class="signature " id="ul_html-instance_method">
838
+
839
+ - (<tt>Object</tt>) <strong>ul_html</strong> <span class="extras">(protected)</span>
840
+
841
+
842
+
843
+
844
+
845
+ </h3><table class="source_code">
846
+ <tr>
847
+ <td>
848
+ <pre class="lines">
849
+
850
+
851
+ 85
852
+ 86
853
+ 87</pre>
854
+ </td>
855
+ <td>
856
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/dropdown/dropdown.rb', line 85</span>
857
+
858
+ <span class='kw'>def</span> <span class='id identifier rubyid_ul_html'>ul_html</span>
859
+ <span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:ul</span><span class='comma'>,</span> <span class='ivar'>@lists</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='label'>class:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>dropdown-menu dropdown-menu-</span><span class='embexpr_beg'>#{</span> <span class='id identifier rubyid_position'>position</span> <span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>role:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>menu</span><span class='tstring_end'>'</span></span>
860
+ <span class='kw'>end</span></pre>
861
+ </td>
862
+ </tr>
863
+ </table>
864
+ </div>
865
+
866
+ </div>
867
+
868
+ </div>
869
+
870
+ <div id="footer">
871
+ Generated on Wed Jul 8 15:00:17 2015 by
872
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
873
+ 0.8.7.6 (ruby-1.9.3).
874
+ </div>
875
+
876
+ </body>
877
+ </html>