smoke.js

framework-agnostic styled alert system for javascript

  • 所有者: jyoungblood/smoke.js
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

SMOKE.JS - 0.1.3

Notify or get approval from your users quickly and with style. This alert system uses css animations and background (so there are no images or js animation code...so it's really lightweight).

It's trivial to implement and really easy to change the style.

Take a look at the demo: http://smoke-js.com/

Also, we've made some cool themes for you: http://github.com/hxgf/smoke-themes/

New in 0.1.3

  • AMD module
  • new .quiz() method
  • updated (and v v smooth) default style
  • moved themes to [http://github.com/hxgf/smoke-themes/](their own repo)
  • cleaned up the repo so it's just the css/js files (all demos/docs: http://smoke-js.com/)
  • consistent callbacks/options order for .alert()

Supported Browsers

  • Chrome
  • Firefox
  • Safari
  • IE 6+ (usable, no animation [who cares], visual IE6 support [transparencies, etc] is up to you)
  • iOS Mobile Safari

(widespread mobile support [android, blackberry, windows] uncertain (I mean, it probably works, but I can't really say that))

Current User Notices

  • If you're using custom themes, you might want to check yourself. The markup/structure hasn't changed, but the base styles are different from the way they've always been, so just think about that for a while.
  • .alert()'s callback/function order is changed to be consistent with the other methods. [http://smoke-js.com/](See the docs) for the correct order.

Bugs/Contributing

  • If you find a bug or have a cool idea for a feature, fork this repo and add a pull request. Your changes will probably get added as long as they're legit.
  • If you've made any cool themes, add them to http://github.com/hxgf/smoke-themes/

Planned Updates

  • Stop all the click/esc/enter listeners once a dialog is closed.
  • Helpful code comments.
  • This thing used to pass JSLint, but it doesn't now. Whatever...

Thanks Y'all

  • Hugo Diaz
  • Michal Zielenkiewicz
  • Leon Fedotov
  • Lautaro Orazi
  • Leonardo Souza
  • Carlos Brito Lage

License

(MIT License)

Copyright (c) 2011-2013 Jonathan Youngblood <jonathan.youngblood@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

主要指标

概览
名称与所有者jyoungblood/smoke.js
主编程语言JavaScript
编程语言CSS (语言数: 2)
平台
许可证Other
所有者活动
创建于2011-07-08 04:25:23
推送于2020-04-22 15:02:33
最后一次提交2020-04-22 10:02:32
发布数0
用户参与
星数0.9k
关注者数26
派生数106
提交数57
已启用问题?
问题数39
打开的问题数15
拉请求数7
打开的拉请求数6
关闭的拉请求数14
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?