Module: Matestack::Ui::VueJs::Components
- Included in:
- Core::Base
- Defined in:
- lib/matestack/ui/vue_js/components.rb,
lib/matestack/ui/vue_js/components/app.rb,
lib/matestack/ui/vue_js/components/async.rb,
lib/matestack/ui/vue_js/components/cable.rb,
lib/matestack/ui/vue_js/components/action.rb,
lib/matestack/ui/vue_js/components/toggle.rb,
lib/matestack/ui/vue_js/components/onclick.rb,
lib/matestack/ui/vue_js/components/isolated.rb,
lib/matestack/ui/vue_js/components/form/base.rb,
lib/matestack/ui/vue_js/components/form/form.rb,
lib/matestack/ui/vue_js/components/form/input.rb,
lib/matestack/ui/vue_js/components/form/radio.rb,
lib/matestack/ui/vue_js/components/transition.rb,
lib/matestack/ui/vue_js/components/form/select.rb,
lib/matestack/ui/vue_js/components/page_switch.rb,
lib/matestack/ui/vue_js/components/form/context.rb,
lib/matestack/ui/vue_js/components/form/checkbox.rb,
lib/matestack/ui/vue_js/components/form/textarea.rb,
lib/matestack/ui/vue_js/components/collection/next.rb,
lib/matestack/ui/vue_js/components/collection/page.rb,
lib/matestack/ui/vue_js/components/collection/order.rb,
lib/matestack/ui/vue_js/components/form/nested_form.rb,
lib/matestack/ui/vue_js/components/collection/filter.rb,
lib/matestack/ui/vue_js/components/collection/content.rb,
lib/matestack/ui/vue_js/components/collection/previous.rb,
lib/matestack/ui/vue_js/components/collection/filter_reset.rb,
lib/matestack/ui/vue_js/components/collection/order_toggle.rb,
lib/matestack/ui/vue_js/components/form/fields_for_add_item.rb,
lib/matestack/ui/vue_js/components/form/fields_for_remove_item.rb,
lib/matestack/ui/vue_js/components/collection/order_toggle_indicator.rb
Defined Under Namespace
Modules: Collection, Form
Classes: Action, App, Async, Cable, Isolated, Onclick, PageSwitch, Toggle, Transition
Instance Method Summary
collapse
-
#action(text = nil, options = nil, &block) ⇒ Object
-
#async(text = nil, options = nil, &block) ⇒ Object
-
#cable(text = nil, options = nil, &block) ⇒ Object
-
#collection_content(text = nil, options = nil, &block) ⇒ Object
-
#collection_content_next(text = nil, options = nil, &block) ⇒ Object
-
#collection_content_page_link(text = nil, options = nil, &block) ⇒ Object
-
#collection_content_previous(text = nil, options = nil, &block) ⇒ Object
-
#collection_filter(text = nil, options = nil, &block) ⇒ Object
-
#collection_filter_reset(text = nil, options = nil, &block) ⇒ Object
-
#collection_order(text = nil, options = nil, &block) ⇒ Object
-
#collection_order_toggle(text = nil, options = nil, &block) ⇒ Object
-
#collection_order_toggle_indicator(text = nil, options = nil, &block) ⇒ Object
-
#form_checkbox(text = nil, options = nil, &block) ⇒ Object
-
#form_fields_for(text = nil, options = nil, &block) ⇒ Object
-
#form_fields_for_add_item(text = nil, options = nil, &block) ⇒ Object
-
#form_fields_for_remove_item(text = nil, options = nil, &block) ⇒ Object
-
#form_input(text = nil, options = nil, &block) ⇒ Object
-
#form_radio(text = nil, options = nil, &block) ⇒ Object
-
#form_select(text = nil, options = nil, &block) ⇒ Object
-
#form_textarea(text = nil, options = nil, &block) ⇒ Object
-
#matestack_form(text = nil, options = nil, &block) ⇒ Object
-
#matestack_vue_js_app(text = nil, options = nil, &block) ⇒ Object
-
#onclick(text = nil, options = nil, &block) ⇒ Object
-
#page_switch(text = nil, options = nil, &block) ⇒ Object
-
#toggle(text = nil, options = nil, &block) ⇒ Object
-
#transition(text = nil, options = nil, &block) ⇒ Object
Instance Method Details
#action(text = nil, options = nil, &block) ⇒ Object
30
31
32
|
# File 'lib/matestack/ui/vue_js/components.rb', line 30
def action(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Action.(text, options, &block)
end
|
#async(text = nil, options = nil, &block) ⇒ Object
26
27
28
|
# File 'lib/matestack/ui/vue_js/components.rb', line 26
def async(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Async.(text, options, &block)
end
|
#cable(text = nil, options = nil, &block) ⇒ Object
34
35
36
|
# File 'lib/matestack/ui/vue_js/components.rb', line 34
def cable(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Cable.(text, options, &block)
end
|
#collection_content(text = nil, options = nil, &block) ⇒ Object
#collection_content_next(text = nil, options = nil, &block) ⇒ Object
103
104
105
|
# File 'lib/matestack/ui/vue_js/components.rb', line 103
def collection_content_next(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Collection::Next.(text, options, &block)
end
|
#collection_content_page_link(text = nil, options = nil, &block) ⇒ Object
111
112
113
|
# File 'lib/matestack/ui/vue_js/components.rb', line 111
def collection_content_page_link(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Collection::Page.(text, options, &block)
end
|
#collection_content_previous(text = nil, options = nil, &block) ⇒ Object
#collection_filter(text = nil, options = nil, &block) ⇒ Object
#collection_filter_reset(text = nil, options = nil, &block) ⇒ Object
#collection_order(text = nil, options = nil, &block) ⇒ Object
#collection_order_toggle(text = nil, options = nil, &block) ⇒ Object
#collection_order_toggle_indicator(text = nil, options = nil, &block) ⇒ Object
67
68
69
|
# File 'lib/matestack/ui/vue_js/components.rb', line 67
def form_checkbox(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Form::Checkbox.(text, options, &block)
end
|
42
43
44
45
46
47
48
49
|
# File 'lib/matestack/ui/vue_js/components.rb', line 42
def form_fields_for(text=nil, options=nil, &block)
options[:for] = text
options[:fields_for] = options.delete(:key)
text = nil
Matestack::Ui::VueJs::Components::Form::NestedForm.(text, options, &block)
end
|
59
60
61
|
# File 'lib/matestack/ui/vue_js/components.rb', line 59
def form_input(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Form::Input.(text, options, &block)
end
|
71
72
73
|
# File 'lib/matestack/ui/vue_js/components.rb', line 71
def form_radio(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Form::Radio.(text, options, &block)
end
|
75
76
77
|
# File 'lib/matestack/ui/vue_js/components.rb', line 75
def form_select(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Form::Select.(text, options, &block)
end
|
#form_textarea(text = nil, options = nil, &block) ⇒ Object
63
64
65
|
# File 'lib/matestack/ui/vue_js/components.rb', line 63
def form_textarea(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Form::Textarea.(text, options, &block)
end
|
38
39
40
|
# File 'lib/matestack/ui/vue_js/components.rb', line 38
def matestack_form(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Form::Form.(text, options, &block)
end
|
#matestack_vue_js_app(text = nil, options = nil, &block) ⇒ Object
6
7
8
|
# File 'lib/matestack/ui/vue_js/components.rb', line 6
def matestack_vue_js_app(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::App.(text, options, &block)
end
|
#onclick(text = nil, options = nil, &block) ⇒ Object
18
19
20
|
# File 'lib/matestack/ui/vue_js/components.rb', line 18
def onclick(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Onclick.(text, options, &block)
end
|
#page_switch(text = nil, options = nil, &block) ⇒ Object
10
11
12
|
# File 'lib/matestack/ui/vue_js/components.rb', line 10
def page_switch(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::PageSwitch.(text, options, &block)
end
|
#toggle(text = nil, options = nil, &block) ⇒ Object
14
15
16
|
# File 'lib/matestack/ui/vue_js/components.rb', line 14
def toggle(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Toggle.(text, options, &block)
end
|
#transition(text = nil, options = nil, &block) ⇒ Object
22
23
24
|
# File 'lib/matestack/ui/vue_js/components.rb', line 22
def transition(text=nil, options=nil, &block)
Matestack::Ui::VueJs::Components::Transition.(text, options, &block)
end
|