ui_bibz 1.1.7 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.yardoc/checksums +23 -19
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile.lock +3 -16
- data/README.md +65 -42
- data/doc/UiBibz.html +2 -2
- data/doc/UiBibz/Concerns.html +1 -1
- data/doc/UiBibz/Concerns/Models.html +1 -1
- data/doc/UiBibz/Concerns/Models/Searchable.html +1 -1
- data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +4 -4
- data/doc/UiBibz/Helpers.html +1 -1
- data/doc/UiBibz/Helpers/MetaHelper.html +1 -1
- data/doc/UiBibz/Helpers/UiCoreHelper.html +127 -75
- data/doc/UiBibz/Helpers/UiUxHelper.html +1 -1
- data/doc/UiBibz/Helpers/UtilsHelper.html +1 -1
- data/doc/UiBibz/Rails.html +1 -1
- data/doc/UiBibz/Rails/Engine.html +1 -1
- data/doc/UiBibz/Ui.html +1 -1
- data/doc/UiBibz/Ui/Base.html +1 -1
- data/doc/UiBibz/Ui/Core.html +3 -3
- data/doc/UiBibz/Ui/Core/Alert.html +1 -1
- data/doc/UiBibz/Ui/Core/Bar.html +1 -1
- data/doc/UiBibz/Ui/Core/Breadcrumb.html +1 -1
- data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +1 -1
- data/doc/UiBibz/Ui/Core/Button.html +1 -1
- data/doc/UiBibz/Ui/Core/ButtonDropdown.html +1 -1
- data/doc/UiBibz/Ui/Core/ButtonGroup.html +1 -1
- data/doc/UiBibz/Ui/Core/ButtonLink.html +1 -1
- data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +1 -1
- data/doc/UiBibz/Ui/Core/Col.html +1 -1
- data/doc/UiBibz/Ui/Core/Component.html +2 -2
- data/doc/UiBibz/Ui/Core/Dropdown.html +1 -1
- data/doc/UiBibz/Ui/Core/DropdownDivider.html +1 -1
- data/doc/UiBibz/Ui/Core/DropdownHeader.html +1 -1
- data/doc/UiBibz/Ui/Core/DropdownLink.html +1 -1
- data/doc/UiBibz/Ui/Core/Glyph.html +1 -1
- data/doc/UiBibz/Ui/Core/Jumbotron.html +1 -1
- data/doc/UiBibz/Ui/Core/Label.html +1 -1
- data/doc/UiBibz/Ui/Core/List.html +1 -1
- data/doc/UiBibz/Ui/Core/ListGroup.html +1 -1
- data/doc/UiBibz/Ui/Core/Modal.html +541 -0
- data/doc/UiBibz/Ui/Core/ModalBody.html +351 -0
- data/doc/UiBibz/Ui/Core/ModalFooter.html +351 -0
- data/doc/UiBibz/Ui/Core/ModalHeader.html +357 -0
- data/doc/UiBibz/Ui/Core/Nav.html +1 -1
- data/doc/UiBibz/Ui/Core/NavDropdown.html +1 -1
- data/doc/UiBibz/Ui/Core/NavLink.html +1 -1
- data/doc/UiBibz/Ui/Core/Navbar.html +1 -1
- data/doc/UiBibz/Ui/Core/NavbarForm.html +1 -1
- data/doc/UiBibz/Ui/Core/NavbarNav.html +1 -1
- data/doc/UiBibz/Ui/Core/NavbarText.html +1 -1
- data/doc/UiBibz/Ui/Core/Panel.html +1 -1
- data/doc/UiBibz/Ui/Core/ProgressBar.html +1 -1
- data/doc/UiBibz/Ui/Core/Row.html +1 -1
- data/doc/UiBibz/Ui/Core/Stars.html +1 -1
- data/doc/UiBibz/Ui/Ux.html +2 -2
- data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
- data/doc/UiBibz/Ui/Ux/Actions.html +1 -1
- data/doc/UiBibz/Ui/Ux/Column.html +83 -11
- data/doc/UiBibz/Ui/Ux/Columns.html +1 -1
- data/doc/UiBibz/Ui/Ux/Grid.html +1 -1
- data/doc/UiBibz/Ui/Ux/Paginable.html +1 -1
- data/doc/UiBibz/Ui/Ux/Searchable.html +1 -1
- data/doc/UiBibz/Ui/Ux/Sortable.html +1 -1
- data/doc/UiBibz/Ui/Ux/Store.html +93 -41
- data/doc/UiBibz/Ui/Ux/Table.html +1 -1
- data/doc/UiBibz/Ui/Ux/TablePagination.html +1 -1
- data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +1 -1
- data/doc/UiBibz/Ui/Ux/TablePanel.html +1 -1
- data/doc/UiBibz/Ui/Ux/TableSearchField.html +1 -1
- data/doc/UiBibz/Utils.html +1 -1
- data/doc/UiBibz/Utils/Internationalization.html +1 -1
- data/doc/_index.html +29 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +65 -43
- data/doc/images/modal.png +0 -0
- data/doc/index.html +65 -43
- data/doc/method_list.html +309 -225
- data/doc/top-level-namespace.html +1 -1
- data/lib/ui_bibz.rb +1 -0
- data/lib/ui_bibz/concerns/models/searchable.rb +2 -1
- data/lib/ui_bibz/helpers/ui_core_helper.rb +4 -0
- data/lib/ui_bibz/ui/core/modal/components/modal_body.rb +45 -0
- data/lib/ui_bibz/ui/core/modal/components/modal_footer.rb +45 -0
- data/lib/ui_bibz/ui/core/modal/components/modal_header.rb +58 -0
- data/lib/ui_bibz/ui/core/modal/modal.rb +92 -0
- data/lib/ui_bibz/ui/ux/table/components/column.rb +2 -1
- data/lib/ui_bibz/ui/ux/table/components/store.rb +4 -0
- data/lib/ui_bibz/ui/ux/table/extensions/sortable.rb +13 -8
- data/lib/ui_bibz/version.rb +1 -1
- data/test/test_helper.rb +0 -5
- data/test/ui/table_test.rb +1 -1
- data/test/ui_helper_test.rb +15 -0
- data/ui_bibz.gemspec +2 -5
- metadata +19 -52
@@ -454,7 +454,7 @@
|
|
454
454
|
</div>
|
455
455
|
|
456
456
|
<div id="footer">
|
457
|
-
Generated on Mon Sep
|
457
|
+
Generated on Mon Sep 21 15:46:14 2015 by
|
458
458
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
459
459
|
0.8.7.6 (ruby-1.9.3).
|
460
460
|
</div>
|
@@ -178,7 +178,7 @@
|
|
178
178
|
</div>
|
179
179
|
|
180
180
|
<div id="footer">
|
181
|
-
Generated on Mon Sep
|
181
|
+
Generated on Mon Sep 21 15:46:14 2015 by
|
182
182
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
183
183
|
0.8.7.6 (ruby-1.9.3).
|
184
184
|
</div>
|
data/doc/UiBibz/Rails.html
CHANGED
@@ -106,7 +106,7 @@
|
|
106
106
|
</div>
|
107
107
|
|
108
108
|
<div id="footer">
|
109
|
-
Generated on Mon Sep
|
109
|
+
Generated on Mon Sep 21 15:46:14 2015 by
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
111
111
|
0.8.7.6 (ruby-1.9.3).
|
112
112
|
</div>
|
@@ -114,7 +114,7 @@
|
|
114
114
|
</div>
|
115
115
|
|
116
116
|
<div id="footer">
|
117
|
-
Generated on Mon Sep
|
117
|
+
Generated on Mon Sep 21 15:46:14 2015 by
|
118
118
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
119
119
|
0.8.7.6 (ruby-1.9.3).
|
120
120
|
</div>
|
data/doc/UiBibz/Ui.html
CHANGED
@@ -110,7 +110,7 @@
|
|
110
110
|
</div>
|
111
111
|
|
112
112
|
<div id="footer">
|
113
|
-
Generated on Mon Sep
|
113
|
+
Generated on Mon Sep 21 15:46:14 2015 by
|
114
114
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
115
115
|
0.8.7.6 (ruby-1.9.3).
|
116
116
|
</div>
|
data/doc/UiBibz/Ui/Base.html
CHANGED
@@ -295,7 +295,7 @@
|
|
295
295
|
</div>
|
296
296
|
|
297
297
|
<div id="footer">
|
298
|
-
Generated on Mon Sep
|
298
|
+
Generated on Mon Sep 21 15:46:14 2015 by
|
299
299
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
300
300
|
0.8.7.6 (ruby-1.9.3).
|
301
301
|
</div>
|
data/doc/UiBibz/Ui/Core.html
CHANGED
@@ -80,7 +80,7 @@
|
|
80
80
|
|
81
81
|
<dt class="r1 last">Defined in:</dt>
|
82
82
|
<dd class="r1 last">lib/ui_bibz.rb<span class="defines">,<br />
|
83
|
-
lib/ui_bibz/ui/core/col.rb,<br /> lib/ui_bibz/ui/core/row.rb,<br /> lib/ui_bibz/ui/core/
|
83
|
+
lib/ui_bibz/ui/core/col.rb,<br /> lib/ui_bibz/ui/core/row.rb,<br /> lib/ui_bibz/ui/core/panel.rb,<br /> lib/ui_bibz/ui/core/glyph.rb,<br /> lib/ui_bibz/ui/core/label.rb,<br /> lib/ui_bibz/ui/core/alert.rb,<br /> lib/ui_bibz/ui/core/stars.rb,<br /> lib/ui_bibz/ui/core/nav/nav.rb,<br /> lib/ui_bibz/ui/core/jumbotron.rb,<br /> lib/ui_bibz/ui/core/component.rb,<br /> lib/ui_bibz/ui/core/nav/navbar.rb,<br /> lib/ui_bibz/ui/core/modal/modal.rb,<br /> lib/ui_bibz/ui/core/button/button.rb,<br /> lib/ui_bibz/ui/core/list/list_group.rb,<br /> lib/ui_bibz/ui/core/dropdown/dropdown.rb,<br /> lib/ui_bibz/ui/core/button/button_link.rb,<br /> lib/ui_bibz/ui/core/button/button_group.rb,<br /> lib/ui_bibz/ui/core/list/components/list.rb,<br /> lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb,<br /> lib/ui_bibz/ui/core/button/button_dropdown.rb,<br /> lib/ui_bibz/ui/core/nav/components/nav_link.rb,<br /> lib/ui_bibz/ui/core/nav/components/navbar_nav.rb,<br /> lib/ui_bibz/ui/core/progress_bar/progress_bar.rb,<br /> lib/ui_bibz/ui/core/nav/components/navbar_text.rb,<br /> lib/ui_bibz/ui/core/nav/components/navbar_form.rb,<br /> lib/ui_bibz/ui/core/modal/components/modal_body.rb,<br /> lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb,<br /> lib/ui_bibz/ui/core/progress_bar/components/bar.rb,<br /> lib/ui_bibz/ui/core/button/button_split_dropdown.rb,<br /> lib/ui_bibz/ui/core/modal/components/modal_header.rb,<br /> lib/ui_bibz/ui/core/modal/components/modal_footer.rb,<br /> lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb,<br /> lib/ui_bibz/ui/core/dropdown/components/dropdown_header.rb,<br /> lib/ui_bibz/ui/core/dropdown/components/dropdown_divider.rb,<br /> lib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb</span>
|
84
84
|
</dd>
|
85
85
|
|
86
86
|
</dl>
|
@@ -103,7 +103,7 @@
|
|
103
103
|
|
104
104
|
|
105
105
|
|
106
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Core/Alert.html" title="UiBibz::Ui::Core::Alert (class)">Alert</a></span>, <span class='object_link'><a href="Core/Bar.html" title="UiBibz::Ui::Core::Bar (class)">Bar</a></span>, <span class='object_link'><a href="Core/Breadcrumb.html" title="UiBibz::Ui::Core::Breadcrumb (class)">Breadcrumb</a></span>, <span class='object_link'><a href="Core/BreadcrumbLink.html" title="UiBibz::Ui::Core::BreadcrumbLink (class)">BreadcrumbLink</a></span>, <span class='object_link'><a href="Core/Button.html" title="UiBibz::Ui::Core::Button (class)">Button</a></span>, <span class='object_link'><a href="Core/ButtonDropdown.html" title="UiBibz::Ui::Core::ButtonDropdown (class)">ButtonDropdown</a></span>, <span class='object_link'><a href="Core/ButtonGroup.html" title="UiBibz::Ui::Core::ButtonGroup (class)">ButtonGroup</a></span>, <span class='object_link'><a href="Core/ButtonLink.html" title="UiBibz::Ui::Core::ButtonLink (class)">ButtonLink</a></span>, <span class='object_link'><a href="Core/ButtonSplitDropdown.html" title="UiBibz::Ui::Core::ButtonSplitDropdown (class)">ButtonSplitDropdown</a></span>, <span class='object_link'><a href="Core/Col.html" title="UiBibz::Ui::Core::Col (class)">Col</a></span>, <span class='object_link'><a href="Core/Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span>, <span class='object_link'><a href="Core/Dropdown.html" title="UiBibz::Ui::Core::Dropdown (class)">Dropdown</a></span>, <span class='object_link'><a href="Core/DropdownDivider.html" title="UiBibz::Ui::Core::DropdownDivider (class)">DropdownDivider</a></span>, <span class='object_link'><a href="Core/DropdownHeader.html" title="UiBibz::Ui::Core::DropdownHeader (class)">DropdownHeader</a></span>, <span class='object_link'><a href="Core/DropdownLink.html" title="UiBibz::Ui::Core::DropdownLink (class)">DropdownLink</a></span>, <span class='object_link'><a href="Core/Glyph.html" title="UiBibz::Ui::Core::Glyph (class)">Glyph</a></span>, <span class='object_link'><a href="Core/Jumbotron.html" title="UiBibz::Ui::Core::Jumbotron (class)">Jumbotron</a></span>, <span class='object_link'><a href="Core/Label.html" title="UiBibz::Ui::Core::Label (class)">Label</a></span>, <span class='object_link'><a href="Core/List.html" title="UiBibz::Ui::Core::List (class)">List</a></span>, <span class='object_link'><a href="Core/ListGroup.html" title="UiBibz::Ui::Core::ListGroup (class)">ListGroup</a></span>, <span class='object_link'><a href="Core/Nav.html" title="UiBibz::Ui::Core::Nav (class)">Nav</a></span>, <span class='object_link'><a href="Core/NavDropdown.html" title="UiBibz::Ui::Core::NavDropdown (class)">NavDropdown</a></span>, <span class='object_link'><a href="Core/NavLink.html" title="UiBibz::Ui::Core::NavLink (class)">NavLink</a></span>, <span class='object_link'><a href="Core/Navbar.html" title="UiBibz::Ui::Core::Navbar (class)">Navbar</a></span>, <span class='object_link'><a href="Core/NavbarForm.html" title="UiBibz::Ui::Core::NavbarForm (class)">NavbarForm</a></span>, <span class='object_link'><a href="Core/NavbarNav.html" title="UiBibz::Ui::Core::NavbarNav (class)">NavbarNav</a></span>, <span class='object_link'><a href="Core/NavbarText.html" title="UiBibz::Ui::Core::NavbarText (class)">NavbarText</a></span>, <span class='object_link'><a href="Core/Panel.html" title="UiBibz::Ui::Core::Panel (class)">Panel</a></span>, <span class='object_link'><a href="Core/ProgressBar.html" title="UiBibz::Ui::Core::ProgressBar (class)">ProgressBar</a></span>, <span class='object_link'><a href="Core/Row.html" title="UiBibz::Ui::Core::Row (class)">Row</a></span>, <span class='object_link'><a href="Core/Stars.html" title="UiBibz::Ui::Core::Stars (class)">Stars</a></span>
|
106
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Core/Alert.html" title="UiBibz::Ui::Core::Alert (class)">Alert</a></span>, <span class='object_link'><a href="Core/Bar.html" title="UiBibz::Ui::Core::Bar (class)">Bar</a></span>, <span class='object_link'><a href="Core/Breadcrumb.html" title="UiBibz::Ui::Core::Breadcrumb (class)">Breadcrumb</a></span>, <span class='object_link'><a href="Core/BreadcrumbLink.html" title="UiBibz::Ui::Core::BreadcrumbLink (class)">BreadcrumbLink</a></span>, <span class='object_link'><a href="Core/Button.html" title="UiBibz::Ui::Core::Button (class)">Button</a></span>, <span class='object_link'><a href="Core/ButtonDropdown.html" title="UiBibz::Ui::Core::ButtonDropdown (class)">ButtonDropdown</a></span>, <span class='object_link'><a href="Core/ButtonGroup.html" title="UiBibz::Ui::Core::ButtonGroup (class)">ButtonGroup</a></span>, <span class='object_link'><a href="Core/ButtonLink.html" title="UiBibz::Ui::Core::ButtonLink (class)">ButtonLink</a></span>, <span class='object_link'><a href="Core/ButtonSplitDropdown.html" title="UiBibz::Ui::Core::ButtonSplitDropdown (class)">ButtonSplitDropdown</a></span>, <span class='object_link'><a href="Core/Col.html" title="UiBibz::Ui::Core::Col (class)">Col</a></span>, <span class='object_link'><a href="Core/Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span>, <span class='object_link'><a href="Core/Dropdown.html" title="UiBibz::Ui::Core::Dropdown (class)">Dropdown</a></span>, <span class='object_link'><a href="Core/DropdownDivider.html" title="UiBibz::Ui::Core::DropdownDivider (class)">DropdownDivider</a></span>, <span class='object_link'><a href="Core/DropdownHeader.html" title="UiBibz::Ui::Core::DropdownHeader (class)">DropdownHeader</a></span>, <span class='object_link'><a href="Core/DropdownLink.html" title="UiBibz::Ui::Core::DropdownLink (class)">DropdownLink</a></span>, <span class='object_link'><a href="Core/Glyph.html" title="UiBibz::Ui::Core::Glyph (class)">Glyph</a></span>, <span class='object_link'><a href="Core/Jumbotron.html" title="UiBibz::Ui::Core::Jumbotron (class)">Jumbotron</a></span>, <span class='object_link'><a href="Core/Label.html" title="UiBibz::Ui::Core::Label (class)">Label</a></span>, <span class='object_link'><a href="Core/List.html" title="UiBibz::Ui::Core::List (class)">List</a></span>, <span class='object_link'><a href="Core/ListGroup.html" title="UiBibz::Ui::Core::ListGroup (class)">ListGroup</a></span>, <span class='object_link'><a href="Core/Modal.html" title="UiBibz::Ui::Core::Modal (class)">Modal</a></span>, <span class='object_link'><a href="Core/ModalBody.html" title="UiBibz::Ui::Core::ModalBody (class)">ModalBody</a></span>, <span class='object_link'><a href="Core/ModalFooter.html" title="UiBibz::Ui::Core::ModalFooter (class)">ModalFooter</a></span>, <span class='object_link'><a href="Core/ModalHeader.html" title="UiBibz::Ui::Core::ModalHeader (class)">ModalHeader</a></span>, <span class='object_link'><a href="Core/Nav.html" title="UiBibz::Ui::Core::Nav (class)">Nav</a></span>, <span class='object_link'><a href="Core/NavDropdown.html" title="UiBibz::Ui::Core::NavDropdown (class)">NavDropdown</a></span>, <span class='object_link'><a href="Core/NavLink.html" title="UiBibz::Ui::Core::NavLink (class)">NavLink</a></span>, <span class='object_link'><a href="Core/Navbar.html" title="UiBibz::Ui::Core::Navbar (class)">Navbar</a></span>, <span class='object_link'><a href="Core/NavbarForm.html" title="UiBibz::Ui::Core::NavbarForm (class)">NavbarForm</a></span>, <span class='object_link'><a href="Core/NavbarNav.html" title="UiBibz::Ui::Core::NavbarNav (class)">NavbarNav</a></span>, <span class='object_link'><a href="Core/NavbarText.html" title="UiBibz::Ui::Core::NavbarText (class)">NavbarText</a></span>, <span class='object_link'><a href="Core/Panel.html" title="UiBibz::Ui::Core::Panel (class)">Panel</a></span>, <span class='object_link'><a href="Core/ProgressBar.html" title="UiBibz::Ui::Core::ProgressBar (class)">ProgressBar</a></span>, <span class='object_link'><a href="Core/Row.html" title="UiBibz::Ui::Core::Row (class)">Row</a></span>, <span class='object_link'><a href="Core/Stars.html" title="UiBibz::Ui::Core::Stars (class)">Stars</a></span>
|
107
107
|
|
108
108
|
|
109
109
|
</p>
|
@@ -119,7 +119,7 @@
|
|
119
119
|
</div>
|
120
120
|
|
121
121
|
<div id="footer">
|
122
|
-
Generated on Mon Sep
|
122
|
+
Generated on Mon Sep 21 15:46:14 2015 by
|
123
123
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
124
124
|
0.8.7.6 (ruby-1.9.3).
|
125
125
|
</div>
|
@@ -371,7 +371,7 @@ end.render</code></pre>
|
|
371
371
|
</div>
|
372
372
|
|
373
373
|
<div id="footer">
|
374
|
-
Generated on Mon Sep
|
374
|
+
Generated on Mon Sep 21 15:46:14 2015 by
|
375
375
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
376
376
|
0.8.7.6 (ruby-1.9.3).
|
377
377
|
</div>
|
data/doc/UiBibz/Ui/Core/Bar.html
CHANGED
@@ -360,7 +360,7 @@ arguments in options attribute:</p>
|
|
360
360
|
</div>
|
361
361
|
|
362
362
|
<div id="footer">
|
363
|
-
Generated on Mon Sep
|
363
|
+
Generated on Mon Sep 21 15:46:16 2015 by
|
364
364
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
365
365
|
0.8.7.6 (ruby-1.9.3).
|
366
366
|
</div>
|
@@ -431,7 +431,7 @@ end</code></pre>
|
|
431
431
|
</div>
|
432
432
|
|
433
433
|
<div id="footer">
|
434
|
-
Generated on Mon Sep
|
434
|
+
Generated on Mon Sep 21 15:46:15 2015 by
|
435
435
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
436
436
|
0.8.7.6 (ruby-1.9.3).
|
437
437
|
</div>
|
@@ -358,7 +358,7 @@ end.render</code></pre>
|
|
358
358
|
</div>
|
359
359
|
|
360
360
|
<div id="footer">
|
361
|
-
Generated on Mon Sep
|
361
|
+
Generated on Mon Sep 21 15:46:16 2015 by
|
362
362
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
363
363
|
0.8.7.6 (ruby-1.9.3).
|
364
364
|
</div>
|
@@ -367,7 +367,7 @@ arguments in options attribute:</p>
|
|
367
367
|
</div>
|
368
368
|
|
369
369
|
<div id="footer">
|
370
|
-
Generated on Mon Sep
|
370
|
+
Generated on Mon Sep 21 15:46:15 2015 by
|
371
371
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
372
372
|
0.8.7.6 (ruby-1.9.3).
|
373
373
|
</div>
|
@@ -389,7 +389,7 @@ end</code></pre>
|
|
389
389
|
</div>
|
390
390
|
|
391
391
|
<div id="footer">
|
392
|
-
Generated on Mon Sep
|
392
|
+
Generated on Mon Sep 21 15:46:16 2015 by
|
393
393
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
394
394
|
0.8.7.6 (ruby-1.9.3).
|
395
395
|
</div>
|
@@ -360,7 +360,7 @@ end</code></pre>
|
|
360
360
|
</div>
|
361
361
|
|
362
362
|
<div id="footer">
|
363
|
-
Generated on Mon Sep
|
363
|
+
Generated on Mon Sep 21 15:46:15 2015 by
|
364
364
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
365
365
|
0.8.7.6 (ruby-1.9.3).
|
366
366
|
</div>
|
@@ -369,7 +369,7 @@ arguments in options attribute:</p>
|
|
369
369
|
</div>
|
370
370
|
|
371
371
|
<div id="footer">
|
372
|
-
Generated on Mon Sep
|
372
|
+
Generated on Mon Sep 21 15:46:15 2015 by
|
373
373
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
374
374
|
0.8.7.6 (ruby-1.9.3).
|
375
375
|
</div>
|
@@ -391,7 +391,7 @@ end</code></pre>
|
|
391
391
|
</div>
|
392
392
|
|
393
393
|
<div id="footer">
|
394
|
-
Generated on Mon Sep
|
394
|
+
Generated on Mon Sep 21 15:46:16 2015 by
|
395
395
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
396
396
|
0.8.7.6 (ruby-1.9.3).
|
397
397
|
</div>
|
data/doc/UiBibz/Ui/Core/Col.html
CHANGED
@@ -361,7 +361,7 @@ arguments in options attribute:</p>
|
|
361
361
|
</div>
|
362
362
|
|
363
363
|
<div id="footer">
|
364
|
-
Generated on Mon Sep
|
364
|
+
Generated on Mon Sep 21 15:46:14 2015 by
|
365
365
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
366
366
|
0.8.7.6 (ruby-1.9.3).
|
367
367
|
</div>
|
@@ -158,7 +158,7 @@ end</code></pre>
|
|
158
158
|
|
159
159
|
</div><div id="subclasses">
|
160
160
|
<h2>Direct Known Subclasses</h2>
|
161
|
-
<p class="children"><span class='object_link'><a href="Alert.html" title="UiBibz::Ui::Core::Alert (class)">Alert</a></span>, <span class='object_link'><a href="Bar.html" title="UiBibz::Ui::Core::Bar (class)">Bar</a></span>, <span class='object_link'><a href="Breadcrumb.html" title="UiBibz::Ui::Core::Breadcrumb (class)">Breadcrumb</a></span>, <span class='object_link'><a href="BreadcrumbLink.html" title="UiBibz::Ui::Core::BreadcrumbLink (class)">BreadcrumbLink</a></span>, <span class='object_link'><a href="Button.html" title="UiBibz::Ui::Core::Button (class)">Button</a></span>, <span class='object_link'><a href="ButtonGroup.html" title="UiBibz::Ui::Core::ButtonGroup (class)">ButtonGroup</a></span>, <span class='object_link'><a href="ButtonLink.html" title="UiBibz::Ui::Core::ButtonLink (class)">ButtonLink</a></span>, <span class='object_link'><a href="Col.html" title="UiBibz::Ui::Core::Col (class)">Col</a></span>, <span class='object_link'><a href="Dropdown.html" title="UiBibz::Ui::Core::Dropdown (class)">Dropdown</a></span>, <span class='object_link'><a href="DropdownHeader.html" title="UiBibz::Ui::Core::DropdownHeader (class)">DropdownHeader</a></span>, <span class='object_link'><a href="DropdownLink.html" title="UiBibz::Ui::Core::DropdownLink (class)">DropdownLink</a></span>, <span class='object_link'><a href="Glyph.html" title="UiBibz::Ui::Core::Glyph (class)">Glyph</a></span>, <span class='object_link'><a href="Jumbotron.html" title="UiBibz::Ui::Core::Jumbotron (class)">Jumbotron</a></span>, <span class='object_link'><a href="Label.html" title="UiBibz::Ui::Core::Label (class)">Label</a></span>, <span class='object_link'><a href="List.html" title="UiBibz::Ui::Core::List (class)">List</a></span>, <span class='object_link'><a href="ListGroup.html" title="UiBibz::Ui::Core::ListGroup (class)">ListGroup</a></span>, <span class='object_link'><a href="Nav.html" title="UiBibz::Ui::Core::Nav (class)">Nav</a></span>, <span class='object_link'><a href="NavLink.html" title="UiBibz::Ui::Core::NavLink (class)">NavLink</a></span>, <span class='object_link'><a href="Navbar.html" title="UiBibz::Ui::Core::Navbar (class)">Navbar</a></span>, <span class='object_link'><a href="NavbarText.html" title="UiBibz::Ui::Core::NavbarText (class)">NavbarText</a></span>, <span class='object_link'><a href="Panel.html" title="UiBibz::Ui::Core::Panel (class)">Panel</a></span>, <span class='object_link'><a href="ProgressBar.html" title="UiBibz::Ui::Core::ProgressBar (class)">ProgressBar</a></span>, <span class='object_link'><a href="Row.html" title="UiBibz::Ui::Core::Row (class)">Row</a></span>, <span class='object_link'><a href="Stars.html" title="UiBibz::Ui::Core::Stars (class)">Stars</a></span>, <span class='object_link'><a href="../Ux/Column.html" title="UiBibz::Ui::Ux::Column (class)">Ux::Column</a></span>, <span class='object_link'><a href="../Ux/Grid.html" title="UiBibz::Ui::Ux::Grid (class)">Ux::Grid</a></span>, <span class='object_link'><a href="../Ux/Table.html" title="UiBibz::Ui::Ux::Table (class)">Ux::Table</a></span></p>
|
161
|
+
<p class="children"><span class='object_link'><a href="Alert.html" title="UiBibz::Ui::Core::Alert (class)">Alert</a></span>, <span class='object_link'><a href="Bar.html" title="UiBibz::Ui::Core::Bar (class)">Bar</a></span>, <span class='object_link'><a href="Breadcrumb.html" title="UiBibz::Ui::Core::Breadcrumb (class)">Breadcrumb</a></span>, <span class='object_link'><a href="BreadcrumbLink.html" title="UiBibz::Ui::Core::BreadcrumbLink (class)">BreadcrumbLink</a></span>, <span class='object_link'><a href="Button.html" title="UiBibz::Ui::Core::Button (class)">Button</a></span>, <span class='object_link'><a href="ButtonGroup.html" title="UiBibz::Ui::Core::ButtonGroup (class)">ButtonGroup</a></span>, <span class='object_link'><a href="ButtonLink.html" title="UiBibz::Ui::Core::ButtonLink (class)">ButtonLink</a></span>, <span class='object_link'><a href="Col.html" title="UiBibz::Ui::Core::Col (class)">Col</a></span>, <span class='object_link'><a href="Dropdown.html" title="UiBibz::Ui::Core::Dropdown (class)">Dropdown</a></span>, <span class='object_link'><a href="DropdownHeader.html" title="UiBibz::Ui::Core::DropdownHeader (class)">DropdownHeader</a></span>, <span class='object_link'><a href="DropdownLink.html" title="UiBibz::Ui::Core::DropdownLink (class)">DropdownLink</a></span>, <span class='object_link'><a href="Glyph.html" title="UiBibz::Ui::Core::Glyph (class)">Glyph</a></span>, <span class='object_link'><a href="Jumbotron.html" title="UiBibz::Ui::Core::Jumbotron (class)">Jumbotron</a></span>, <span class='object_link'><a href="Label.html" title="UiBibz::Ui::Core::Label (class)">Label</a></span>, <span class='object_link'><a href="List.html" title="UiBibz::Ui::Core::List (class)">List</a></span>, <span class='object_link'><a href="ListGroup.html" title="UiBibz::Ui::Core::ListGroup (class)">ListGroup</a></span>, <span class='object_link'><a href="Modal.html" title="UiBibz::Ui::Core::Modal (class)">Modal</a></span>, <span class='object_link'><a href="ModalBody.html" title="UiBibz::Ui::Core::ModalBody (class)">ModalBody</a></span>, <span class='object_link'><a href="ModalFooter.html" title="UiBibz::Ui::Core::ModalFooter (class)">ModalFooter</a></span>, <span class='object_link'><a href="ModalHeader.html" title="UiBibz::Ui::Core::ModalHeader (class)">ModalHeader</a></span>, <span class='object_link'><a href="Nav.html" title="UiBibz::Ui::Core::Nav (class)">Nav</a></span>, <span class='object_link'><a href="NavLink.html" title="UiBibz::Ui::Core::NavLink (class)">NavLink</a></span>, <span class='object_link'><a href="Navbar.html" title="UiBibz::Ui::Core::Navbar (class)">Navbar</a></span>, <span class='object_link'><a href="NavbarText.html" title="UiBibz::Ui::Core::NavbarText (class)">NavbarText</a></span>, <span class='object_link'><a href="Panel.html" title="UiBibz::Ui::Core::Panel (class)">Panel</a></span>, <span class='object_link'><a href="ProgressBar.html" title="UiBibz::Ui::Core::ProgressBar (class)">ProgressBar</a></span>, <span class='object_link'><a href="Row.html" title="UiBibz::Ui::Core::Row (class)">Row</a></span>, <span class='object_link'><a href="Stars.html" title="UiBibz::Ui::Core::Stars (class)">Stars</a></span>, <span class='object_link'><a href="../Ux/Column.html" title="UiBibz::Ui::Ux::Column (class)">Ux::Column</a></span>, <span class='object_link'><a href="../Ux/Grid.html" title="UiBibz::Ui::Ux::Grid (class)">Ux::Grid</a></span>, <span class='object_link'><a href="../Ux/Table.html" title="UiBibz::Ui::Ux::Table (class)">Ux::Table</a></span></p>
|
162
162
|
</div>
|
163
163
|
|
164
164
|
|
@@ -1076,7 +1076,7 @@ variable 'content' does not exit.</p>
|
|
1076
1076
|
</div>
|
1077
1077
|
|
1078
1078
|
<div id="footer">
|
1079
|
-
Generated on Mon Sep
|
1079
|
+
Generated on Mon Sep 21 15:46:14 2015 by
|
1080
1080
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1081
1081
|
0.8.7.6 (ruby-1.9.3).
|
1082
1082
|
</div>
|
@@ -651,7 +651,7 @@ end</code></pre>
|
|
651
651
|
</div>
|
652
652
|
|
653
653
|
<div id="footer">
|
654
|
-
Generated on Mon Sep
|
654
|
+
Generated on Mon Sep 21 15:46:15 2015 by
|
655
655
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
656
656
|
0.8.7.6 (ruby-1.9.3).
|
657
657
|
</div>
|
@@ -292,7 +292,7 @@
|
|
292
292
|
</div>
|
293
293
|
|
294
294
|
<div id="footer">
|
295
|
-
Generated on Mon Sep
|
295
|
+
Generated on Mon Sep 21 15:46:16 2015 by
|
296
296
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
297
297
|
0.8.7.6 (ruby-1.9.3).
|
298
298
|
</div>
|
@@ -344,7 +344,7 @@ content to add a separator</p>
|
|
344
344
|
</div>
|
345
345
|
|
346
346
|
<div id="footer">
|
347
|
-
Generated on Mon Sep
|
347
|
+
Generated on Mon Sep 21 15:46:16 2015 by
|
348
348
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
349
349
|
0.8.7.6 (ruby-1.9.3).
|
350
350
|
</div>
|
@@ -364,7 +364,7 @@ arguments in options attribute:</p>
|
|
364
364
|
</div>
|
365
365
|
|
366
366
|
<div id="footer">
|
367
|
-
Generated on Mon Sep
|
367
|
+
Generated on Mon Sep 21 15:46:16 2015 by
|
368
368
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
369
369
|
0.8.7.6 (ruby-1.9.3).
|
370
370
|
</div>
|
@@ -373,7 +373,7 @@ arguments in options attribute:</p>
|
|
373
373
|
</div>
|
374
374
|
|
375
375
|
<div id="footer">
|
376
|
-
Generated on Mon Sep
|
376
|
+
Generated on Mon Sep 21 15:46:14 2015 by
|
377
377
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
378
378
|
0.8.7.6 (ruby-1.9.3).
|
379
379
|
</div>
|
@@ -367,7 +367,7 @@ arguments in options attribute:</p>
|
|
367
367
|
</div>
|
368
368
|
|
369
369
|
<div id="footer">
|
370
|
-
Generated on Mon Sep
|
370
|
+
Generated on Mon Sep 21 15:46:14 2015 by
|
371
371
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
372
372
|
0.8.7.6 (ruby-1.9.3).
|
373
373
|
</div>
|
@@ -366,7 +366,7 @@ arguments in options attribute:</p>
|
|
366
366
|
</div>
|
367
367
|
|
368
368
|
<div id="footer">
|
369
|
-
Generated on Mon Sep
|
369
|
+
Generated on Mon Sep 21 15:46:14 2015 by
|
370
370
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
371
371
|
0.8.7.6 (ruby-1.9.3).
|
372
372
|
</div>
|
@@ -516,7 +516,7 @@ arguments in options attribute:</p>
|
|
516
516
|
</div>
|
517
517
|
|
518
518
|
<div id="footer">
|
519
|
-
Generated on Mon Sep
|
519
|
+
Generated on Mon Sep 21 15:46:15 2015 by
|
520
520
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
521
521
|
0.8.7.6 (ruby-1.9.3).
|
522
522
|
</div>
|
@@ -463,7 +463,7 @@ end</code></pre>
|
|
463
463
|
</div>
|
464
464
|
|
465
465
|
<div id="footer">
|
466
|
-
Generated on Mon Sep
|
466
|
+
Generated on Mon Sep 21 15:46:15 2015 by
|
467
467
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
468
468
|
0.8.7.6 (ruby-1.9.3).
|
469
469
|
</div>
|
@@ -0,0 +1,541 @@
|
|
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::Modal
|
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/Modal.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">Modal</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::Modal
|
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::Modal</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/modal.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 an modal</p>
|
110
|
+
|
111
|
+
<p>This element is an extend of UiBibz::Ui::Core::Component.</p>
|
112
|
+
|
113
|
+
<h4>Attributes</h4>
|
114
|
+
<ul><li>
|
115
|
+
<p><tt>content</tt> - Content of element</p>
|
116
|
+
</li><li>
|
117
|
+
<p><tt>options</tt> - Options of element</p>
|
118
|
+
</li><li>
|
119
|
+
<p><tt>html_options</tt> - Html Options of element</p>
|
120
|
+
</li></ul>
|
121
|
+
|
122
|
+
<h4>Options</h4>
|
123
|
+
|
124
|
+
<p>You can add HTML attributes using the <tt>html_options</tt>. You can pass
|
125
|
+
arguments in options attribute:</p>
|
126
|
+
|
127
|
+
<h4>Signatures</h4>
|
128
|
+
|
129
|
+
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Modal</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_m'>m</span><span class='op'>|</span>
|
130
|
+
<span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_header'>header</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
131
|
+
<span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
132
|
+
<span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_footer'>footer</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
133
|
+
<span class='kw'>end</span></code></pre>
|
134
|
+
|
135
|
+
<h4>Examples</h4>
|
136
|
+
|
137
|
+
<pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::Modal.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do |m|
|
138
|
+
m.header 'Title'
|
139
|
+
m.body 'Content'
|
140
|
+
m.footer do
|
141
|
+
button_link 'Ok', '#', class: :success
|
142
|
+
end
|
143
|
+
end.render</code></pre>
|
144
|
+
|
145
|
+
<h4>Helper</h4>
|
146
|
+
|
147
|
+
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_modal'>modal</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_m'>m</span><span class='op'>|</span>
|
148
|
+
<span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_header'>header</span> <span class='kw'>do</span>
|
149
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Title</span><span class='tstring_end'>'</span></span>
|
150
|
+
<span class='kw'>end</span>
|
151
|
+
<span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span> <span class='kw'>do</span>
|
152
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Content</span><span class='tstring_end'>'</span></span>
|
153
|
+
<span class='kw'>end</span>
|
154
|
+
<span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_footer'>footer</span> <span class='kw'>do</span>
|
155
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Footer</span><span class='tstring_end'>'</span></span>
|
156
|
+
<span class='kw'>end</span>
|
157
|
+
<span class='kw'>end</span></code></pre>
|
158
|
+
|
159
|
+
|
160
|
+
</div>
|
161
|
+
</div>
|
162
|
+
<div class="tags">
|
163
|
+
|
164
|
+
|
165
|
+
</div>
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
<h2>Instance Attribute Summary</h2>
|
172
|
+
|
173
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
174
|
+
<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>
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
|
179
|
+
<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>
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
<h2>
|
184
|
+
Instance Method Summary
|
185
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
186
|
+
</h2>
|
187
|
+
|
188
|
+
<ul class="summary">
|
189
|
+
|
190
|
+
<li class="public ">
|
191
|
+
<span class="summary_signature">
|
192
|
+
|
193
|
+
<a href="#body-instance_method" title="#body (instance method)">- (Object) <strong>body</strong>(content = nil, options = nil, html_options = nil, &block) </a>
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
</span>
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
208
|
+
|
209
|
+
</li>
|
210
|
+
|
211
|
+
|
212
|
+
<li class="public ">
|
213
|
+
<span class="summary_signature">
|
214
|
+
|
215
|
+
<a href="#footer-instance_method" title="#footer (instance method)">- (Object) <strong>footer</strong>(content = nil, options = nil, html_options = nil, &block) </a>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
</span>
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
230
|
+
|
231
|
+
</li>
|
232
|
+
|
233
|
+
|
234
|
+
<li class="public ">
|
235
|
+
<span class="summary_signature">
|
236
|
+
|
237
|
+
<a href="#header-instance_method" title="#header (instance method)">- (Object) <strong>header</strong>(content = nil, options = nil, html_options = nil, &block) </a>
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
</span>
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
252
|
+
|
253
|
+
</li>
|
254
|
+
|
255
|
+
|
256
|
+
<li class="public ">
|
257
|
+
<span class="summary_signature">
|
258
|
+
|
259
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Modal) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &block) </a>
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
</span>
|
264
|
+
|
265
|
+
|
266
|
+
<span class="note title constructor">constructor</span>
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
<span class="summary_desc"><div class='inline'>
|
276
|
+
<p>See UiBibz::Ui::Core::Component.initialize.</p>
|
277
|
+
</div></span>
|
278
|
+
|
279
|
+
</li>
|
280
|
+
|
281
|
+
|
282
|
+
<li class="public ">
|
283
|
+
<span class="summary_signature">
|
284
|
+
|
285
|
+
<a href="#render-instance_method" title="#render (instance method)">- (Object) <strong>render</strong> </a>
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
</span>
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
<span class="summary_desc"><div class='inline'>
|
300
|
+
<p>Render html tag.</p>
|
301
|
+
</div></span>
|
302
|
+
|
303
|
+
</li>
|
304
|
+
|
305
|
+
|
306
|
+
</ul>
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
319
|
+
<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>
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
|
330
|
+
<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>
|
331
|
+
|
332
|
+
<div id="constructor_details" class="method_details_list">
|
333
|
+
<h2>Constructor Details</h2>
|
334
|
+
|
335
|
+
<div class="method_details first">
|
336
|
+
<h3 class="signature first" id="initialize-instance_method">
|
337
|
+
|
338
|
+
- (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Core::Modal (class)">Modal</a></span></tt>) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &block)
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
</h3><div class="docstring">
|
345
|
+
<div class="discussion">
|
346
|
+
|
347
|
+
<p>See UiBibz::Ui::Core::Component.initialize</p>
|
348
|
+
|
349
|
+
|
350
|
+
</div>
|
351
|
+
</div>
|
352
|
+
<div class="tags">
|
353
|
+
|
354
|
+
|
355
|
+
</div><table class="source_code">
|
356
|
+
<tr>
|
357
|
+
<td>
|
358
|
+
<pre class="lines">
|
359
|
+
|
360
|
+
|
361
|
+
56
|
362
|
+
57
|
363
|
+
58</pre>
|
364
|
+
</td>
|
365
|
+
<td>
|
366
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/modal/modal.rb', line 56</span>
|
367
|
+
|
368
|
+
<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>
|
369
|
+
<span class='kw'>super</span>
|
370
|
+
<span class='kw'>end</span></pre>
|
371
|
+
</td>
|
372
|
+
</tr>
|
373
|
+
</table>
|
374
|
+
</div>
|
375
|
+
|
376
|
+
</div>
|
377
|
+
|
378
|
+
|
379
|
+
<div id="instance_method_details" class="method_details_list">
|
380
|
+
<h2>Instance Method Details</h2>
|
381
|
+
|
382
|
+
|
383
|
+
<div class="method_details first">
|
384
|
+
<h3 class="signature first" id="body-instance_method">
|
385
|
+
|
386
|
+
- (<tt>Object</tt>) <strong>body</strong>(content = nil, options = nil, html_options = nil, &block)
|
387
|
+
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
</h3><table class="source_code">
|
393
|
+
<tr>
|
394
|
+
<td>
|
395
|
+
<pre class="lines">
|
396
|
+
|
397
|
+
|
398
|
+
81
|
399
|
+
82
|
400
|
+
83</pre>
|
401
|
+
</td>
|
402
|
+
<td>
|
403
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/modal/modal.rb', line 81</span>
|
404
|
+
|
405
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_body'>body</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>
|
406
|
+
<span class='ivar'>@body</span> <span class='op'>=</span> <span class='const'>ModalBody</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='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>
|
407
|
+
<span class='kw'>end</span></pre>
|
408
|
+
</td>
|
409
|
+
</tr>
|
410
|
+
</table>
|
411
|
+
</div>
|
412
|
+
|
413
|
+
<div class="method_details ">
|
414
|
+
<h3 class="signature " id="footer-instance_method">
|
415
|
+
|
416
|
+
- (<tt>Object</tt>) <strong>footer</strong>(content = nil, options = nil, html_options = nil, &block)
|
417
|
+
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
</h3><table class="source_code">
|
423
|
+
<tr>
|
424
|
+
<td>
|
425
|
+
<pre class="lines">
|
426
|
+
|
427
|
+
|
428
|
+
77
|
429
|
+
78
|
430
|
+
79</pre>
|
431
|
+
</td>
|
432
|
+
<td>
|
433
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/modal/modal.rb', line 77</span>
|
434
|
+
|
435
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_footer'>footer</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>
|
436
|
+
<span class='ivar'>@footer</span> <span class='op'>=</span> <span class='const'>ModalFooter</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='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>
|
437
|
+
<span class='kw'>end</span></pre>
|
438
|
+
</td>
|
439
|
+
</tr>
|
440
|
+
</table>
|
441
|
+
</div>
|
442
|
+
|
443
|
+
<div class="method_details ">
|
444
|
+
<h3 class="signature " id="header-instance_method">
|
445
|
+
|
446
|
+
- (<tt>Object</tt>) <strong>header</strong>(content = nil, options = nil, html_options = nil, &block)
|
447
|
+
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
</h3><table class="source_code">
|
453
|
+
<tr>
|
454
|
+
<td>
|
455
|
+
<pre class="lines">
|
456
|
+
|
457
|
+
|
458
|
+
73
|
459
|
+
74
|
460
|
+
75</pre>
|
461
|
+
</td>
|
462
|
+
<td>
|
463
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/modal/modal.rb', line 73</span>
|
464
|
+
|
465
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_header'>header</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
466
|
+
<span class='ivar'>@header</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='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>
|
467
|
+
<span class='kw'>end</span></pre>
|
468
|
+
</td>
|
469
|
+
</tr>
|
470
|
+
</table>
|
471
|
+
</div>
|
472
|
+
|
473
|
+
<div class="method_details ">
|
474
|
+
<h3 class="signature " id="render-instance_method">
|
475
|
+
|
476
|
+
- (<tt>Object</tt>) <strong>render</strong>
|
477
|
+
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
|
482
|
+
</h3><div class="docstring">
|
483
|
+
<div class="discussion">
|
484
|
+
|
485
|
+
<p>Render html tag</p>
|
486
|
+
|
487
|
+
|
488
|
+
</div>
|
489
|
+
</div>
|
490
|
+
<div class="tags">
|
491
|
+
|
492
|
+
|
493
|
+
</div><table class="source_code">
|
494
|
+
<tr>
|
495
|
+
<td>
|
496
|
+
<pre class="lines">
|
497
|
+
|
498
|
+
|
499
|
+
61
|
500
|
+
62
|
501
|
+
63
|
502
|
+
64
|
503
|
+
65
|
504
|
+
66
|
505
|
+
67
|
506
|
+
68
|
507
|
+
69
|
508
|
+
70
|
509
|
+
71</pre>
|
510
|
+
</td>
|
511
|
+
<td>
|
512
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/modal/modal.rb', line 61</span>
|
513
|
+
|
514
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
515
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>modal</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_effect'>effect</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
516
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>modal-dialog</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>role:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>document</span><span class='tstring_end'>'</span></span> <span class='kw'>do</span>
|
517
|
+
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>modal-content</span><span class='tstring_end'>'</span></span> <span class='kw'>do</span>
|
518
|
+
<span class='id identifier rubyid_concat'>concat</span> <span class='ivar'>@header</span>
|
519
|
+
<span class='id identifier rubyid_concat'>concat</span> <span class='ivar'>@body</span>
|
520
|
+
<span class='id identifier rubyid_concat'>concat</span> <span class='ivar'>@footer</span>
|
521
|
+
<span class='kw'>end</span>
|
522
|
+
<span class='kw'>end</span>
|
523
|
+
<span class='kw'>end</span>
|
524
|
+
<span class='kw'>end</span></pre>
|
525
|
+
</td>
|
526
|
+
</tr>
|
527
|
+
</table>
|
528
|
+
</div>
|
529
|
+
|
530
|
+
</div>
|
531
|
+
|
532
|
+
</div>
|
533
|
+
|
534
|
+
<div id="footer">
|
535
|
+
Generated on Mon Sep 21 15:46:15 2015 by
|
536
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
537
|
+
0.8.7.6 (ruby-1.9.3).
|
538
|
+
</div>
|
539
|
+
|
540
|
+
</body>
|
541
|
+
</html>
|