module Voom::Presenters::DSL::Components::Mixins::ExpansionPanels

Public Instance Methods

expansion_panel(text=nil, **attributes, &block) click to toggle source
# File lib/voom/presenters/dsl/components/mixins/expansion_panels.rb, line 7
def expansion_panel(text=nil, **attributes, &block)
  self << Components::ExpansionPanel.new(parent: self, text: text, **attributes, &block)
end