Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/n2ref/coreui-notice

CoreUI Notice
https://github.com/n2ref/coreui-notice

Last synced: 3 months ago
JSON representation

CoreUI Notice

Awesome Lists containing this project

README

        

# CoreUI Notice

**[DEMO](https://n2ref.github.io/coreui-notice)**

## Install with npm
`$ npm install coreui-notice`

## Example

```html
Default
Warning
Danger
Success

$('#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.");
});

```

Result

![Notice](https://raw.githubusercontent.com/n2ref/coreui-notice/main/preview.png)