Class: Glib::JsonUi::ActionBuilder::Sheets::Select
- Inherits:
-
Action
show all
- Defined in:
- app/helpers/glib/json_ui/action_builder/sheets.rb
Instance Attribute Summary
#json, #page
Instance Method Summary
collapse
#initialize, #props
Instance Method Details
11
12
13
14
15
|
# File 'app/helpers/glib/json_ui/action_builder/sheets.rb', line 11
def buttons(block)
json.buttons do
block.call page.
end
end
|
#created ⇒ Object
17
18
19
20
21
22
23
|
# File 'app/helpers/glib/json_ui/action_builder/sheets.rb', line 17
def created
if @overlay.nil?
@overlay = true
end
json.overlay @overlay
end
|
#overlay(value) ⇒ Object
7
8
9
|
# File 'app/helpers/glib/json_ui/action_builder/sheets.rb', line 7
def overlay(value)
@overlay = value
end
|