class Trestle::Toolbar::Dropdown
Public Instance Methods
label()
click to toggle source
Calls superclass method
# File lib/trestle/toolbar/item.rb, line 103 def label safe_join([ super, content_tag(:span, "", class: "caret") ], " ") end
options()
click to toggle source
Calls superclass method
Trestle::Toolbar::Item#options
# File lib/trestle/toolbar/item.rb, line 99 def options super.merge(type: "button", data: { toggle: "dropdown" }) end