Documentation for a historical release of Infusion: 1.3
Please view the Infusion Documentation site for the latest documentation.
If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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 Option replaces callback

The callback properties of showAnimation and hideAnimation are deprecated, replaced by new events, 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.

  • No labels