Class: Glib::JsonUi::ViewBuilder::Panels::BulkEdit2

Inherits:
View show all
Defined in:
app/helpers/glib/json_ui/view_builder/panels.rb

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

#dataRows(value) ⇒ Object



396
397
398
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 396

def dataRows(value)
  json.dataRows value
end

#viewCells(values) ⇒ Object

Experimental panels_builder :accessory, :header, :footer



388
389
390
391
392
393
394
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 388

def viewCells(values)
  json.set! 'viewCells' do
    values.each do |value|
      value.call(page.view_builder)
    end
  end
end

#viewRows(value) ⇒ Object



400
401
402
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 400

def viewRows(value)
  json.viewRows value
end