Growl with Semantic UI

I have modified a jQuery plugin bootstrap growl jquery plugin to be used with Semantic UI.

Extra option is:

  • header: String – renders the header of the growl message

Forked from https://github.com/TimHeckel/meteor-bootstrap-growl

How to use?

Simply install with meteor add tomi:semantic-ui-growl

Example use:

$.semanticUiGrowl('My message', {
    header: 'My Header'
  });

Default Options

$.semanticUiGrowl.defaultOptions = {
  ele: 'body',
  type: 'info',
  offset: {
    from: 'top',
    amount: 20
  },
  align: 'right',
  width: 250,
  delay: 4000,
  allow_dismiss: true,
  stackup_spacing: 10
};

Written with StackEdit.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s