Hi, how do I update the value of a progress bar?

// Test #1
x = $.messager.progress({
    title: "Processing",
    value: 5,
    text: "{value}%",
    interval: 0,
    closable: true
});
x.progressbar();
x.progressbar('setValue',50);

// Test #2
x = $.messager.progress({
    title: "Processing",
    value: 5,
    text: "{value}%",
    interval: 0,
    closable: true
});
x.progressbar({value: 50});

Both kind of work but mess with the layout...

2020-11-15 10_21_02-Window.png

#General Discuss#
#GeneralDiscuss#
Others

No comments yet. Be the first to comment!