Module: Ruflet::UI::CupertinoControlMethods
- Included in:
- ControlMethods
- Defined in:
- lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb
Instance Method Summary collapse
- #cupertino_action_sheet(**props) ⇒ Object
- #cupertino_action_sheet_action(**props) ⇒ Object
- #cupertino_activity_indicator(**props) ⇒ Object
- #cupertino_alert_dialog(**props) ⇒ Object
- #cupertino_app_bar(**props) ⇒ Object
- #cupertino_bottom_sheet(content = nil, **props) ⇒ Object
- #cupertino_button(content = nil, **props) ⇒ Object
- #cupertino_checkbox(**props) ⇒ Object
- #cupertino_context_menu(**props) ⇒ Object
- #cupertino_context_menu_action(**props) ⇒ Object
- #cupertino_date_picker(**props) ⇒ Object
- #cupertino_dialog_action(**props) ⇒ Object
- #cupertino_filled_button(content = nil, **props) ⇒ Object
- #cupertino_list_tile(**props) ⇒ Object
- #cupertino_navigation_bar(**props) ⇒ Object
- #cupertino_picker(children = nil, **props) ⇒ Object
- #cupertino_radio(**props) ⇒ Object
- #cupertino_segmented_button(children = nil, **props) ⇒ Object
- #cupertino_slider(**props) ⇒ Object
- #cupertino_sliding_segmented_button(children = nil, **props) ⇒ Object
- #cupertino_switch(**props) ⇒ Object
- #cupertino_text_field(value = nil, **props) ⇒ Object
- #cupertino_timer_picker(**props) ⇒ Object
- #cupertino_tinted_button(content = nil, **props) ⇒ Object
- #cupertinoactionsheet(**props) ⇒ Object
- #cupertinoactionsheetaction(**props) ⇒ Object
- #cupertinoactivityindicator(**props) ⇒ Object
- #cupertinoalertdialog(**props) ⇒ Object
- #cupertinoappbar(**props) ⇒ Object
- #cupertinobottomsheet(content = nil, **props) ⇒ Object
- #cupertinobutton(content = nil, **props) ⇒ Object
- #cupertinocheckbox(**props) ⇒ Object
- #cupertinocontextmenu(**props) ⇒ Object
- #cupertinocontextmenuaction(**props) ⇒ Object
- #cupertinodatepicker(**props) ⇒ Object
- #cupertinodialogaction(**props) ⇒ Object
- #cupertinofilledbutton(content = nil, **props) ⇒ Object
- #cupertinolisttile(**props) ⇒ Object
- #cupertinonavigationbar(**props) ⇒ Object
- #cupertinopicker(children = nil, **props) ⇒ Object
- #cupertinoradio(**props) ⇒ Object
- #cupertinosegmentedbutton(children = nil, **props) ⇒ Object
- #cupertinoslider(**props) ⇒ Object
- #cupertinoslidingsegmentedbutton(children = nil, **props) ⇒ Object
- #cupertinoswitch(**props) ⇒ Object
- #cupertinotextfield(value = nil, **props) ⇒ Object
- #cupertinotimerpicker(**props) ⇒ Object
- #cupertinotintedbutton(content = nil, **props) ⇒ Object
Instance Method Details
#cupertino_action_sheet(**props) ⇒ Object
42 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 42 def cupertino_action_sheet(**props) = (:cupertino_action_sheet, **props) |
#cupertino_action_sheet_action(**props) ⇒ Object
44 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 44 def cupertino_action_sheet_action(**props) = (:cupertino_action_sheet_action, **props) |
#cupertino_activity_indicator(**props) ⇒ Object
46 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 46 def cupertino_activity_indicator(**props) = (:cupertino_activity_indicator, **props) |
#cupertino_alert_dialog(**props) ⇒ Object
40 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 40 def cupertino_alert_dialog(**props) = (:cupertino_alert_dialog, **props) |
#cupertino_app_bar(**props) ⇒ Object
48 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 48 def (**props) = (:cupertino_app_bar, **props) |
#cupertino_bottom_sheet(content = nil, **props) ⇒ Object
50 51 52 53 54 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 50 def cupertino_bottom_sheet(content = nil, **props) mapped = props.dup mapped[:content] = content unless content.nil? (:cupertino_bottom_sheet, **mapped) end |
#cupertino_button(content = nil, **props) ⇒ Object
6 7 8 9 10 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 6 def (content = nil, **props) mapped = props.dup mapped[:content] = content unless content.nil? (:cupertino_button, **mapped) end |
#cupertino_checkbox(**props) ⇒ Object
24 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 24 def cupertino_checkbox(**props) = (:cupertino_checkbox, **props) |
#cupertino_context_menu(**props) ⇒ Object
60 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 60 def (**props) = (:cupertino_context_menu, **props) |
#cupertino_context_menu_action(**props) ⇒ Object
62 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 62 def (**props) = (:cupertino_context_menu_action, **props) |
#cupertino_date_picker(**props) ⇒ Object
56 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 56 def cupertino_date_picker(**props) = (:cupertino_date_picker, **props) |
#cupertino_dialog_action(**props) ⇒ Object
58 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 58 def cupertino_dialog_action(**props) = (:cupertino_dialog_action, **props) |
#cupertino_filled_button(content = nil, **props) ⇒ Object
12 13 14 15 16 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 12 def (content = nil, **props) mapped = props.dup mapped[:content] = content unless content.nil? (:cupertino_filled_button, **mapped) end |
#cupertino_list_tile(**props) ⇒ Object
64 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 64 def cupertino_list_tile(**props) = (:cupertino_list_tile, **props) |
#cupertino_navigation_bar(**props) ⇒ Object
66 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 66 def (**props) = (:cupertino_navigation_bar, **props) |
#cupertino_picker(children = nil, **props) ⇒ Object
68 69 70 71 72 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 68 def cupertino_picker(children = nil, **props) mapped = props.dup mapped[:children] = children unless children.nil? (:cupertinopicker, **mapped) end |
#cupertino_radio(**props) ⇒ Object
38 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 38 def cupertino_radio(**props) = (:cupertino_radio, **props) |
#cupertino_segmented_button(children = nil, **props) ⇒ Object
74 75 76 77 78 79 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 74 def (children = nil, **props) mapped = props.dup validate_cupertino_segmented_children!("cupertino_segmented_button", children, mapped) mapped[:children] = children unless children.nil? (:cupertinosegmentedbutton, **mapped) end |
#cupertino_slider(**props) ⇒ Object
36 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 36 def (**props) = (:cupertino_slider, **props) |
#cupertino_sliding_segmented_button(children = nil, **props) ⇒ Object
81 82 83 84 85 86 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 81 def (children = nil, **props) mapped = props.dup validate_cupertino_segmented_children!("cupertino_sliding_segmented_button", children, mapped) mapped[:children] = children unless children.nil? (:cupertinoslidingsegmentedbutton, **mapped) end |
#cupertino_switch(**props) ⇒ Object
34 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 34 def cupertino_switch(**props) = (:cupertino_switch, **props) |
#cupertino_text_field(value = nil, **props) ⇒ Object
26 27 28 29 30 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 26 def cupertino_text_field(value = nil, **props) mapped = props.dup mapped[:value] = value unless value.nil? (:cupertino_text_field, **mapped) end |
#cupertino_timer_picker(**props) ⇒ Object
32 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 32 def cupertino_timer_picker(**props) = (:cupertino_timer_picker, **props) |
#cupertino_tinted_button(content = nil, **props) ⇒ Object
18 19 20 21 22 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 18 def (content = nil, **props) mapped = props.dup mapped[:content] = content unless content.nil? (:cupertino_tinted_button, **mapped) end |
#cupertinoactionsheet(**props) ⇒ Object
43 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 43 def cupertinoactionsheet(**props) = cupertino_action_sheet(**props) |
#cupertinoactionsheetaction(**props) ⇒ Object
45 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 45 def cupertinoactionsheetaction(**props) = cupertino_action_sheet_action(**props) |
#cupertinoactivityindicator(**props) ⇒ Object
47 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 47 def (**props) = cupertino_activity_indicator(**props) |
#cupertinoalertdialog(**props) ⇒ Object
41 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 41 def cupertinoalertdialog(**props) = cupertino_alert_dialog(**props) |
#cupertinoappbar(**props) ⇒ Object
49 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 49 def (**props) = (**props) |
#cupertinobottomsheet(content = nil, **props) ⇒ Object
55 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 55 def cupertinobottomsheet(content = nil, **props) = cupertino_bottom_sheet(content, **props) |
#cupertinobutton(content = nil, **props) ⇒ Object
11 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 11 def (content = nil, **props) = (content, **props) |
#cupertinocheckbox(**props) ⇒ Object
25 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 25 def cupertinocheckbox(**props) = cupertino_checkbox(**props) |
#cupertinocontextmenu(**props) ⇒ Object
61 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 61 def (**props) = (**props) |
#cupertinocontextmenuaction(**props) ⇒ Object
63 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 63 def (**props) = (**props) |
#cupertinodatepicker(**props) ⇒ Object
57 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 57 def cupertinodatepicker(**props) = cupertino_date_picker(**props) |
#cupertinodialogaction(**props) ⇒ Object
59 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 59 def cupertinodialogaction(**props) = cupertino_dialog_action(**props) |
#cupertinofilledbutton(content = nil, **props) ⇒ Object
17 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 17 def (content = nil, **props) = (content, **props) |
#cupertinolisttile(**props) ⇒ Object
65 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 65 def cupertinolisttile(**props) = cupertino_list_tile(**props) |
#cupertinonavigationbar(**props) ⇒ Object
67 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 67 def (**props) = (**props) |
#cupertinopicker(children = nil, **props) ⇒ Object
73 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 73 def cupertinopicker(children = nil, **props) = cupertino_picker(children, **props) |
#cupertinoradio(**props) ⇒ Object
39 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 39 def cupertinoradio(**props) = cupertino_radio(**props) |
#cupertinosegmentedbutton(children = nil, **props) ⇒ Object
80 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 80 def (children = nil, **props) = (children, **props) |
#cupertinoslider(**props) ⇒ Object
37 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 37 def (**props) = (**props) |
#cupertinoslidingsegmentedbutton(children = nil, **props) ⇒ Object
87 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 87 def (children = nil, **props) = (children, **props) |
#cupertinoswitch(**props) ⇒ Object
35 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 35 def cupertinoswitch(**props) = cupertino_switch(**props) |
#cupertinotextfield(value = nil, **props) ⇒ Object
31 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 31 def cupertinotextfield(value = nil, **props) = cupertino_text_field(value, **props) |
#cupertinotimerpicker(**props) ⇒ Object
33 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 33 def cupertinotimerpicker(**props) = cupertino_timer_picker(**props) |
#cupertinotintedbutton(content = nil, **props) ⇒ Object
23 |
# File 'lib/ruflet_ui/ruflet/ui/cupertino_control_methods.rb', line 23 def (content = nil, **props) = (content, **props) |