Class: Protos::Dropdown

Inherits:
Popover show all
Defined in:
lib/protos/dropdown.rb,
lib/protos/dropdown/item.rb,
lib/protos/dropdown/menu.rb,
lib/protos/dropdown/trigger.rb

Defined Under Namespace

Classes: Item, Menu, Trigger

Constant Summary

Constants inherited from Popover

Popover::Animations, Popover::Positions, Popover::Triggers

Instance Method Summary collapse

Methods inherited from Popover

#content, #view_template

Methods inherited from Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#itemObject



22
# File 'lib/protos/dropdown.rb', line 22

def item(...) = render Item.new(...)


24
# File 'lib/protos/dropdown.rb', line 24

def menu(...) = render Menu.new(...)

#triggerObject



26
# File 'lib/protos/dropdown.rb', line 26

def trigger(...) = render Trigger.new(...)