Class: Spina::UserInterface::DropdownComponent::MenuComponent
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- Spina::UserInterface::DropdownComponent::MenuComponent
- Defined in:
- app/components/spina/user_interface/dropdown_component.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
21 22 23 |
# File 'app/components/spina/user_interface/dropdown_component.rb', line 21 def call content_tag :div, content, {class: "origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg border border-gray-200 z-20 rounded-md bg-white shadow-xs py-1", hidden: true, data: {reveal: true, transition: true}} end |