Skip to content

n2ref/coreui-notice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoreUI Notice

DEMO

Install with npm

$ npm install coreui-notice

Example

<button class="btn btn-sm btn-secondary" id="notice-default">Default</button>
<button class="btn btn-sm btn-warning" id="notice-warning">Warning</button>
<button class="btn btn-sm btn-danger" id="notice-danger">Danger</button>
<button class="btn btn-sm btn-success" id="notice-success">Success</button>

<script>
    $('#notice-default').click(function () {
        CoreUI.notice.info("Hello, world! This is a toast message.");
    });

    $('#notice-warning').click(function () {
        CoreUI.notice.warning("Hello, world! This is a toast message.");
    });

    $('#notice-danger').click(function () {
        CoreUI.notice.danger("Hello, world! This is a toast message.");
    });

    $('#notice-success').click(function () {
        CoreUI.notice.success("Hello, world! This is a toast message.");
    });
</script>

Result

Notice

About

CoreUI Notice

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published