Class: Protos::Swap::On
- Defined in:
- lib/protos/swap/on.rb
Instance Method Summary collapse
-
#view_template ⇒ Object
DOCS: The on state for a swap component.
Methods inherited from Component
Constructor Details
This class inherits a constructor from Protos::Component
Instance Method Details
#view_template ⇒ Object
DOCS: The on state for a swap component. This is the active state.
8 9 10 |
# File 'lib/protos/swap/on.rb', line 8 def view_template(&) div(**attrs, &) end |