简体   繁体   中英

How to add Progress Bar in GWT

I have configuration implemented. I want to add the progress bar where client can see how much progress have done with configuration. I don't know how to add progress bar. any help would be appreciated. Thank you

You can use a native progress element . You just need to create the element, IMO the best modern strategy is to do so using the elemento library :

Elements.body().add(Elements.progress().apply(el -> { el.max = 100; el.value = 80; }));

This code will add <progress max="100" value="80"/> to the body .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM