1.2.0 • Published 6 months ago

coreui-notice v1.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

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

1.2.0

6 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

2 years ago