Strings Move to New strings
Option
Two options, ariaBusyText
and ariaDoneText
, have been moved into a new strings
option.
If you used... |
You'll now use... |
---|---|
var opts = { ariaBusyText: "Almost there: %percentComplete percent done...", ariaDoneText: "Yay! You're finished!" }; |
var opts = { strings: { ariaBusyText: "Almost there: %percentComplete percent done...", ariaDoneText: "Yay! You're finished!" } }; |
New Events Replace Animation Callbacks
The callback
properties of showAnimation
and hideAnimation
are deprecated, replaced by new events which you can define listeners for, onProgressBegin
and afterProgressHidden
.
If you used... |
You'll now use... |
---|---|
var opts = { showAnimation: { duration: "slow", callback: showDontClickWarning }, hideAnimation: { duration: "slow", callback: showActionCompleteFeedback } }; |
var opts = { showAnimation: { duration: "slow" }, hideAnimation: { duration: "slow" } listeners: { onProgressBegin: showDontClickWarning, afterProgressHidden: showActionCompleteFeedback } }; |
New Options
Three new options have been added to Progress:
textEditButtonRenderer
renderKeyboardTooltip
urls
For details on how to use these new options, see the Progress API page.