org.dominokit.domino.ui.loaders.BaseLoader Maven / Gradle / Ivy
package org.dominokit.domino.ui.loaders;
import elemental2.dom.HTMLDivElement;
import org.dominokit.domino.ui.utils.BaseDominoElement;
import org.jboss.gwt.elemento.core.IsElement;
import static org.jboss.gwt.elemento.core.Elements.div;
public abstract class BaseLoader> extends BaseDominoElement implements IsLoader, IsElement {
protected HTMLDivElement loadingText = div()
.css(LoaderStyles.WAIT_ME_TEXT)
.style("color:#555")
.textContent("Loading...")
.element();
@Override
public HTMLDivElement getElement() {
return element();
}
}