module Voom::Presenters::DSL::Components::Mixins::Snackbars

Public Instance Methods

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