niko
niko

Reputation: 1

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

Upvotes: 0

Views: 251

Answers (1)

Ignacio Baca
Ignacio Baca

Reputation: 1578

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.

Upvotes: 2

Related Questions