Search and Top Navigation
#3500 closed enhancement (fixed)
Opened October 22, 2008 01:23PM UTC
Closed September 27, 2010 02:45PM UTC
Last modified November 19, 2010 06:26PM UTC
Progressbar callback at the end
Reported by: | wiibaker | Owned by: | paul |
---|---|---|---|
Priority: | major | Milestone: | 1.8.6 |
Component: | ui.progressbar | Version: | 1.6rc2 |
Keywords: | progressbar callback | Cc: | |
Blocked by: | Blocking: |
Description
Hi.
I changed to use the ui progressbar, but noticed that it didn't have a callback for the event at the end of the bar. I needed that for my project.
I did a hack to do that like this:
Added the following line animate methods complete callback (around line 70)
''
self.end();
''
Also I added the method after the text method (around line 178)
''
end: function(){
this._propagate('end', this.ui());
},
''
Now you can call the progressbar like this:
''
$("#progressbar").progressbar({end: doMyThingAtTheendMethod});
''
Could something like this added to the plugin?
Attachments (1)
Change History (6)
Changed October 24, 2008 12:57AM UTC by comment:1
priority: | minor → major |
---|
Changed February 17, 2009 12:29PM UTC by comment:2
milestone: | TBD → 1.6 |
---|
Changed March 08, 2009 02:35PM UTC by comment:3
milestone: | 1.7 → 1.8 |
---|
Changed September 27, 2010 02:45PM UTC by comment:4
resolution: | → fixed |
---|---|
status: | new → closed |
Fixed in 0b6710a.
Changed October 25, 2010 06:52PM UTC by comment:5
milestone: | 1.9 → 1.8.6 |
---|
Progressbar should be reviewed to make sure that all reasonable callbacks have been added.