Page generated at 2016-08-19 09:38:26 +0000

Bootstrap alert based notifications

Required components

  • layer

Example

<script>
$(function(){
	component.require(['notify'], function(notify){

		notify.setSpacing(40);
		notify.success('success text');
		notify.notify('info text', {
			// class: 'alert-info'
		}, 'info');
		notify.warning('warning text');
		notify.warn('warn text');
		notify.error('error text');
		notify.danger('danger text');
	});
});
</script>