https://github.com/n2ref/coreui-notice
CoreUI Notice
https://github.com/n2ref/coreui-notice
Last synced: about 2 months ago
JSON representation
CoreUI Notice
- Host: GitHub
- URL: https://github.com/n2ref/coreui-notice
- Owner: n2ref
- License: mit
- Created: 2023-04-10T18:44:25.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-19T12:56:28.000Z (4 months ago)
- Last Synced: 2025-03-14T07:37:23.878Z (2 months ago)
- Language: JavaScript
- Homepage: https://n2ref.github.io/coreui-notice
- Size: 789 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
