Class: Protos::Popover::Trigger

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

Direct Known Subclasses

Dropdown::Trigger

Instance Method Summary collapse

Methods inherited from Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject

DOCS: The trigger of a popover. This is the element that you would hover or click on to show the popover.



9
10
11
# File 'lib/protos/popover/trigger.rb', line 9

def view_template(&)
  button(**attrs, &)
end