Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zswang/h5toast
Simple toast notifications of Mobile Web
https://github.com/zswang/h5toast
alert mobile notification toast web
Last synced: about 1 month ago
JSON representation
Simple toast notifications of Mobile Web
- Host: GitHub
- URL: https://github.com/zswang/h5toast
- Owner: zswang
- Created: 2017-09-04T02:49:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-06T11:11:12.000Z (about 7 years ago)
- Last Synced: 2024-09-10T13:38:33.347Z (2 months ago)
- Topics: alert, mobile, notification, toast, web
- Language: JavaScript
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
h5toast
-----------[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]
## Quick Start
```js
var toast = new h5toast.Toast({
position: 'bottom-right',
})toast.success('success')
toast.error('error')
toast.show('default', {
timeout: 100000
})
```## from
* [react-toastify](https://github.com/fkhadra/react-toastify)
## License
MIT © [zswang](http://weibo.com/zswang)
[npm-url]: https://npmjs.org/package/h5toast
[npm-image]: https://badge.fury.io/js/h5toast.svg
[travis-url]: https://travis-ci.org/zswang/h5toast
[travis-image]: https://travis-ci.org/zswang/h5toast.svg?branch=master
[coverage-url]: https://coveralls.io/github/zswang/h5toast?branch=master
[coverage-image]: https://coveralls.io/repos/zswang/h5toast/badge.svg?branch=master&service=github