Anthony Pipkin![]()
Moving to 'gallery-xarno-notify' and Y.Xarno.Notify
Displays a message similar to Growl in OSX that fade and disappear on using Timer so it can pause the timeout on mouse enter and resume on mouse leave. Contains to objects using the parent/child widget model.
There are two skins available, Growl (http://skylermedia.com/demo/notify/) and Toast (http://www.assembla.com/code/yui/git/node/live/master/sandbox/apipkin/gallery-notify/toast.html). Both are available in the GitHub
In this example we initialize and render our notifier. Then we add a message. It will remove itself after the default time.
<script src="http://yui.yahooapis.com/3.7.3/build/yui/yui-min.js"></script>YUI({
//Last Gallery Build of this module
gallery: 'gallery-2011.03.11-23-49'
}).use('gallery-notify', function(Y) {
var n = new Y.Notify();
n.render();
n.add({'message': 'Notify Rocks!'});
});| Subject | Author | Date |
|---|---|---|
| Feature requrest: more flag types | Tomas Are Haavet | 04/15/10 |
| Re: Feature requrest: more flag types | Anthony Pipkin | 04/19/10 |
| notify and yui3.3.0 | Roman Stachura | 01/27/11 |
| Re: notify and yui3.3.0 | Roman Stachura | 02/3/11 |
| Developer flag types | John Mizliso | 03/2/12 |
| Close all notifications | John Mizliso | 03/3/12 |
| Re: Developer flag types | Anthony Pipkin | 03/11/12 |
| Standardizing apipkin Modules | Anthony Pipkin | 10/16/12 |
| Re: notify and yui3.3.0 | Roy Mathew | 04/25/13 |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info