Class: PhlexUI::Accordion::DefaultTrigger
- Defined in:
- lib/phlex_ui/accordion/default_trigger.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from PhlexUI::Base
Instance Method Details
#default_attrs ⇒ Object
12 13 14 15 16 17 |
# File 'lib/phlex_ui/accordion/default_trigger.rb', line 12 def default_attrs { data: {action: "click->accordion#toggle"}, class: "w-full flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline" } end |