Module: RoughSwal
- Defined in:
- lib/rough_swal.rb,
lib/rough_swal/version.rb
Defined Under Namespace
Modules: ParamsSetter Classes: Alert, Caller, Configure, Default, Preset, Renderer
Constant Summary collapse
- SWAL_PARAMETERS =
[ :title, :text, :type, :allow_escape_key, :custom_class, :allow_outside_click, :show_cancel_button, :show_confirm_button, :confirm_button_text, :confirm_button_color, :cancel_button_text, :close_on_confirm, :close_on_cancel, :image_url, :image_size, :timer, :html, :animation, :input_type, :input_placeholder, :input_value, :function, ]
- VERSION =
"0.0.3"
Class Method Summary collapse
Class Method Details
.configure(&block) ⇒ Object
176 177 178 |
# File 'lib/rough_swal.rb', line 176 def self.configure(&block) Configure.(&block) if block_given? end |