Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

markcell/jquery-alertiny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery-Alertiny v1.0.0

Tiny plugin to show alert from Bootstrap.

Warning

This repository hasn't been actively maintained for quite some time. The code is still here if you find it useful, but no further updates or support will be provided.

Options

The following options are supported:

  • extraClass: add extra classes to alert div (default = '')
  • closeButton: create close button (default = true)
  • fadeEffect: add fade effect classes (default = true)

Examples

// Example #1
$('.alert-container').Alertiny(
  'success', 
  'Example only with alert type and alert message.'
);
// Example #2
$('.alert-container').Alertiny(
  'info', 
  'Example with extra classes.', 
  {extraClass: 'example'}
);
// Example #3
$('.alert-container').Alertiny(
  'warning', 
  'Example without close button.', 
  {closeButton: false}
);
// Example #4
$('.alert-container').Alertiny(
  'danger', 
  'Example without fade effect.', 
  {fadeEffect: false}
);

License

Code released under the MIT license.

About

Create and show alert components from Bootstrap.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published