Class: Protos::Drawer::Trigger

Inherits:
Component
  • Object
show all
Defined in:
lib/protos/drawer/trigger.rb

Instance Method Summary collapse

Methods inherited from Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject



11
12
13
# File 'lib/protos/drawer/trigger.rb', line 11

def view_template(&)
  label(for: @input_id, **attrs, &)
end