Class: Glib::JsonUi::ViewBuilder::AppBar

Inherits:
View show all
Defined in:
app/helpers/glib/json_ui/view_builder.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

#rightButtons(block) ⇒ Object

def leftButtons(block)

json.leftButtons do
  block.call page.menu_builder
end

end



285
286
287
288
289
# File 'app/helpers/glib/json_ui/view_builder.rb', line 285

def rightButtons(block)
  json.rightButtons do
    block.call page.menu_builder
  end
end