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