定制 mouse0270/bootstrap-growl 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mouse0270/bootstrap-growl

Composer 安装命令:

composer require mouse0270/bootstrap-growl

包简介

This is a simple pluging that turns standard Bootstrap alerts into "Growl-like" notifications.

README 文档

README

This is a simple plugin that turns standard Bootstrap alerts into "Growl-like" notifications.

Manual Download - Stable Release

If toy would like to download the latest stable release please follow the link below

Please keep in mind that the master branch may contain bugs or broken code. Please use the link above if you are not able to debug and correct issues in the master branch. Thank you.

Bower Officially Supported

I would like to thank Błażej Krysiak for doing this!

bower install remarkable-bootstrap-notify

Meteor Officially Supported

Meteor integration by zimme.

meteor add mouse0270:bootstrap-notify

Changelog

Version 3.1.5 provided by chrismbarr - Testing

  • Cleaned Up Code
  • Fixed Spelling
  • Added Option to prevent Duplicate Notifications
  • TypeScript Definitions File
Version 3.1.3 - Stable Release
  • Added Meteor Support
  • Fixed issue with Glyphicons Pro
  • Updating version pattern.
x.y.z
x = Main version of the plugin
y = New features were added to the plugin
z = Fixes/patches to existing features of the plugin
Version 3.0.2
  • Fixed update for backwards compatibility
Version 3.0.1
  • Add the ability to update multiple values in one call
  • Turn off Progress bar
  • Set Progress bar value / Progress bar not shown by default
//Update
var notify = $.notify('<strong>Saving</strong> Do not close this page...', { allow_dismiss: false });
notify.update({ type: 'success', '<strong>Success</strong> Your page has been saved!' });

// Turn of Progress bar on
$.notify('I have a progress bar', { showProgressbar: true });

// Update Progress bar
var notify = $.notify('<strong>Saving</strong> Do not close this page...', { allow_dismiss: false });
notify.update({ type: 'warning', '<strong>Oops</strong> Something happened. Correcting Now', progress: 20 });
Version 3.0.0
  • New template structure
  • Better event handling for onShow, onShown, onClose, onClosed
  • updating notification content will reposition growls below it
  • Fixed updating icon images
  • Fixed IE Issues with Growl URL not being able to be clicked on
  • Added the ability to show progress bars
  • Added the ability to pass position in the settings
  • Added newest_on_top option that allows new growls to push down old growls
  • Added Transition CSS to plugin
transition: all 0.5 ease-in-out;
  • Remember to read to documentation. I use custom css style's for the progress bar that you can find there. This was left out of the plugin so you could choose to use the default progressbar styles provided for bootstrap or write your own.
Version 2.0.1
  • Added the ability to set an X and Y value within the offset option
  • Added callback options onShow, onShown, onHide and onHidden
  • Added a close all method to close all open growls
Version 2.0.0a3
  • Fixed issue with growl not closing if there was no CSS animations
Version 2.0.0a2 (with IE8 Support)
  • Changed animate.in to animate.enter for IE8 compatibility
  • Changed animate.out to animate.exit for IE8 compatibility
  • Modified .is(':hover') for IE8 compatibility
Version 2.0.0a1
  • Better Minification
Version 2.0.0a
  • Major rewright of the plugin file.
  • Added the ability to pass the growl a link making it clickable.
  • Added the ability to control the growl animations in and out using css.
  • Added the ability to set growl settings globally.
  • Removed jQuery fadeIn (use css to control growl animations)
Version 1.0.6
  • Added onGrowlShow and onGrowlShown callback functionality.
Version 1.0.5
  • Better positioning when using CSS animations after growl closes.
Version 1.0.4
  • Updated $.growl() to return a wrapper object with a small API to let you control individual notifications after they have been created.
  • Added onGrowlClose and onGrowlClosed callback functionality.
Version 1.0.3
  • Made jQuery $.extend() Recursive so when you change just one option under position or template the script wont fail
Version 1.0.2
  • Fixed an issue where $.growl("message") would thrown an exception | Provided by DannyJo
Version 1.0.0
  • Initial Release

Demo and Documentation

NOTE: Some users have reported an issue where the demo/documentation links repsond with only pageok in the body. If that occurs for you, try emptying your browser cache or an alternate browser.

Dependencies

Copyright and License

The MIT License (MIT) Copyright (c) 2015 Robert McIntosh

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.

mouse0270/bootstrap-growl 适用场景与选型建议

mouse0270/bootstrap-growl 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 128.91k 次下载、GitHub Stars 达 2.23k, 最近一次更新时间为 2014 年 08 月 28 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「jquery」 「bootstrap」 「growl」 「notifications」 「message」 「notification」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 mouse0270/bootstrap-growl 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 mouse0270/bootstrap-growl 我们能提供哪些服务?
定制开发 / 二次开发

基于 mouse0270/bootstrap-growl 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 128.91k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2231
  • 点击次数: 28
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2231
  • Watchers: 111
  • Forks: 634
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-08-28