Loading

Header Loader

You can use the layout API to start the header loader and stop it on demand. It is better to be used when the header is also set to fixed,so it is always visible. You can start or stop the header loader with JavaScript at any time by using Codebase.layout('header_loader_on')or Codebase.layout('header_loader_off')respectively.

Page Loader

You can add the following markup after the body tag and the loading screen will be enabled and auto hide once the page loads(you can add a .bg-*class for a custom background color):

<div id=&QUOT;page-loader&QUOT;class=&QUOT;show&QUOT;></div>

You can also show or hide the loading screen at any time by using Codebase.loader('show')or Codebase.loader('hide')respectively. If you like to add a custom background color,you can dynamically add a .bg-*class to your page loader,for example Codebase.loader('show','bg-gd-leaf')

Loading Icons

You can create a loading indicator by adding the class fa-spinto any Font Awesome icon. Combining it with size classes and colors,you can get a lot of variations.

Progress Normal

30%
50%
70%
90%
100%

Progress Striped

30%
50%
70%
90%
100%

Progress Animated

30%
50%
70%
90%
100%

Progress Mini

Bootstrap Spinners

Since Bootstrap 4.2,you can also use the following custom CSS based spinner elements.

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Alerts

Variations

Notifications

Bootstrap Toasts

You can also trigger it with JS:

jQuery('#toast-example-1').toast('show');

You can also trigger it with JS:

jQuery('#toast-example-2').toast('show');

SweetAlert2

Bootstrap Notify

Top Right

Top Left

Top Center

Bottom Right

Bottom Left

Bottom Center

You can also trigger a notification with JS:

Codebase.helpers('notify',{align:'right',// 'right','left','center' from:'top',// 'top','bottom' type:'info',// 'info','success','warning','danger' icon:'fa fa-info mr-5',// Icon class message:'Your message!'});