Class: Glib::JsonUi::ViewBuilder::Panels::Custom
- Inherits:
-
View
- Object
- JsonUiElement
- View
- Glib::JsonUi::ViewBuilder::Panels::Custom
- Defined in:
- app/helpers/glib/json_ui/view_builder/panels.rb
Overview
# TODO: Deprecate in favour of styleClasses class Card < View
views :childViews
end
Instance Attribute Summary
Attributes inherited from JsonUiElement
Instance Method Summary collapse
Methods inherited from View
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
#content(block) ⇒ Object
986 987 988 989 990 |
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 986 def content(block) json.data do block.call page.view_builder end end |