Class: Glib::JsonUi::ViewBuilder::ProgressBar
- Inherits:
-
View
- Object
- JsonUiElement
- View
- Glib::JsonUi::ViewBuilder::ProgressBar
- Defined in:
- app/helpers/glib/json_ui/view_builder.rb
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
#create ⇒ Object
404 405 406 407 408 |
# File 'app/helpers/glib/json_ui/view_builder.rb', line 404 def create @rounded = true if @rounded.nil? json.rounded @rounded end |
#rounded(value) ⇒ Object
400 401 402 |
# File 'app/helpers/glib/json_ui/view_builder.rb', line 400 def rounded(value) @rounded = value end |