Class: Ui::Dropdown

Inherits:
Component
  • Object
show all
Includes:
Stylable
Defined in:
lib/ui/dropdown.rb

Constant Summary collapse

Modes =
Types::String.enum(
  'click',
  'hover'
)

Constants inherited from Component

Component::VIEWPATH

Instance Method Summary collapse

Methods inherited from Component

#capture, #icon, #render_group

Instance Method Details

#show(&block) ⇒ Object


10
11
12
# File 'lib/ui/dropdown.rb', line 10

def show(&block)
  render(&block)
end