| Page 1 of 1 | [ 2 posts ] |
|
I updated my previous 3.0PR1 (pre-Widget) ProgressBar to 3.0PR2 inheriting from Widget and following, as much as I understood them, the guideline for Widgets:
http://www.satyam.com.ar/yui/#progressbar I hope I did it Ok. It doesn't do progressive enhancement since a ProgressBar without JavaScript enabled to actually move the bar makes no sense, I can't see any equivalent passive progress bar. |
|
Interesting. It's nice to see some other code examples of how to work with the YUI3 widget framework. I've been trying to figure it myself. I didn't a run-thru of your progress bar code and it looks a lot like what I would expect in most areas. The part I'm trying to get my head around is if you were to create a widget hierarchy and sub-class widgets how that would work with respect to the classnames and HTML templates. Although I'm not so sure if widgets created using the framework are truly intended to be sub-classed or not?
Eric Ferraiuolo
I put my recent attempt on creating a YUI 3 widget up on Google Code; I wanted to create something that took a JSON result from Google's Ajax Feed API and turn it into a DOM structure. Maybe take a look at the feed.js file and we could collaborate on different parts related to widget development. In the meantime I'll play around with the progress bar widget some more... |
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 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
Powered by phpBB® Forum Software © phpBB Group