Class: Spina::UserInterface::DropdownComponent::MenuComponent

Inherits:
ApplicationComponent
  • Object
show all
Defined in:
app/components/spina/user_interface/dropdown_component.rb

Instance Method Summary collapse

Instance Method Details

#callObject



21
22
23
# File 'app/components/spina/user_interface/dropdown_component.rb', line 21

def call
   :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