Class: Protos::Drawer::Side
- Defined in:
- lib/protos/drawer/side.rb
Instance Method Summary collapse
Methods inherited from Component
Constructor Details
This class inherits a constructor from Protos::Component
Instance Method Details
#view_template ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/protos/drawer/side.rb', line 11 def view_template aside(**attrs) do label( for: @input_id, aria_label: "close sidebar", class: css[:toggle] ) yield if block_given? end end |