Class: Ruflet::UI::Controls::RufletComponents::RiveControl
- Inherits:
-
AnimationExtensionControl
- Object
- Control
- AnimationExtensionControl
- Ruflet::UI::Controls::RufletComponents::RiveControl
- Defined in:
- lib/ruflet_ui/ruflet/ui/controls/materials/animation_extension_controls.rb
Constant Summary collapse
- WIRE =
"Rive".freeze
Constants inherited from AnimationExtensionControl
AnimationExtensionControl::KEYWORDS
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, **props) ⇒ RiveControl
constructor
A new instance of RiveControl.
Methods inherited from Control
#attach_handler, #emit, generate_id, #has_handler?, #merge_props, #on, #to_patch
Constructor Details
#initialize(id: nil, **props) ⇒ RiveControl
Returns a new instance of RiveControl.
24 |
# File 'lib/ruflet_ui/ruflet/ui/controls/materials/animation_extension_controls.rb', line 24 def initialize(id: nil, **props) = super(type: "rive", id: id, **props) |