Class: Ruflet::UI::Controls::RufletComponents::RadarDataSetEntryControl
- Inherits:
-
Control
- Object
- Control
- Ruflet::UI::Controls::RufletComponents::RadarDataSetEntryControl
- Defined in:
- lib/ruflet_ui/ruflet/ui/controls/materials/chart_controls.rb
Constant Summary collapse
- TYPE =
"radardatasetentry".freeze
- WIRE =
"RadarDataSetEntry".freeze
- KEYWORDS =
[:value].freeze
Constants inherited from Control
Control::HOST_EXPANDED_TYPES, Control::SCHEMA_METADATA_CACHE
Instance Attribute Summary
Attributes inherited from Control
#children, #id, #props, #runtime_page, #type, #wire_id
Instance Method Summary collapse
-
#initialize(id: nil, value: nil) ⇒ RadarDataSetEntryControl
constructor
A new instance of RadarDataSetEntryControl.
Methods inherited from Control
#attach_handler, #emit, generate_id, #has_handler?, #merge_props, #on, #to_patch
Constructor Details
#initialize(id: nil, value: nil) ⇒ RadarDataSetEntryControl
Returns a new instance of RadarDataSetEntryControl.
293 294 295 296 297 |
# File 'lib/ruflet_ui/ruflet/ui/controls/materials/chart_controls.rb', line 293 def initialize(id: nil, value: nil) props = {} props[:value] = value unless value.nil? super(type: TYPE, id: id, **props) end |