Class: Glib::JsonUi::ActionBuilder::Components::Replace
- Inherits:
-
Action
- Object
- JsonUiElement
- Action
- Glib::JsonUi::ActionBuilder::Components::Replace
- Defined in:
- app/helpers/glib/json_ui/action_builder/components.rb
Overview
Consider deprecating this. See ‘components_set` example in app/views/json_ui/garage/forms/selects.json.jbuilder
Instance Attribute Summary
Attributes inherited from JsonUiElement
Instance Method Summary collapse
Methods inherited from JsonUiElement
action, any, array, badgeable, bool, color, component_name, date, date_time, enum, float, hash, icon, #initialize, int, length, menu, panels_builder, #props, required, singleton_array, string, text, url, views
Constructor Details
This class inherits a constructor from Glib::JsonUi::JsonUiElement
Instance Method Details
#newView(block) ⇒ Object
33 34 35 36 37 |
# File 'app/helpers/glib/json_ui/action_builder/components.rb', line 33 def newView(block) json.newView do block.call(page.sview_builder) end end |