Class: Glib::JsonUi::ActionBuilder::Logics::Set
- Inherits:
-
Action
- Object
- JsonUiElement
- Action
- Glib::JsonUi::ActionBuilder::Logics::Set
- Defined in:
- app/helpers/glib/json_ui/action_builder.rb
Overview
Future: Replace showIf and loadIf Example: ‘submitWhenNotDisplayed` is false by default fields_text id: ’my_text’, displayed: false, submitWhenNotDisplayed: true
logics_if condition: { ‘==’, BLAH1, BLAH2 }, true: ->(action) do
action.components_set targetId: 'my_text', displayed: true
end
class If < Action
hash :condition
action :true
action :false
end
Instance Attribute Summary
Attributes inherited from JsonUiElement
Method Summary
Methods inherited from JsonUiElement
Constructor Details
This class inherits a constructor from Glib::JsonUi::JsonUiElement