Module: Bootstrap4RailsComponents::Bootstrap::Utilities::Dismissible

Included in:
Components::Alert
Defined in:
lib/bootstrap4_rails_components/bootstrap/utilities/dismissible.rb

Overview

Delivers the dismissibility of the component to the HAML partial

Instance Method Summary collapse

Instance Method Details

#dismissibleObject



8
9
10
# File 'lib/bootstrap4_rails_components/bootstrap/utilities/dismissible.rb', line 8

def dismissible
  options.fetch(:dismissible, default_dismissible)
end