IBM Worklight 6.0 - Does WL.BusyIndicator support

2019-09-01 12:43发布

Attached is the code for we have implemented for the busy indicator on iOS. But this does not wrap the busyText on iOS.

$.r.setBusyIndicator(new WL.BusyIndicator('content', {
    opacity : 0.65,
    fullScreen : false,
    text : busyText
}));

1条回答
倾城 Initia
2楼-- · 2019-09-01 13:28

Wrapping is not available.

You can use a different busy indicator altogether: a native busy implementation by you, or an indicator provided by a 3rd party library (jQuery Mobile, ...), etc.

Otherwise, you need to use the boxLength property which controls the height and width of the busy square holding the text, like this:

var busy = new WL.BusyIndicator(null, {
    text: "Ouverture de session",
    boxLength: 170 // Play with this value.
});
busy.show();

Related question: IBM Worklight 6.1 - How to customize WL.BusyIndicator's height and width?

enter image description here

查看更多
登录 后发表回答