Class: Glib::JsonUi::ViewBuilder::Panels::Custom

Inherits:
View show all
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

#json, #page

Instance Method Summary collapse

Methods inherited from View

component_name

Methods inherited from JsonUiElement

#initialize, #props

Constructor Details

This class inherits a constructor from Glib::JsonUi::JsonUiElement

Instance Method Details

#content(block) ⇒ Object



340
341
342
343
344
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 340

def content(block)
  json.data do
    block.call page.view_builder
  end
end