org.dominokit.domino.ui.loaders.Templated_Win8LinearLoader Maven / Gradle / Ivy
package org.dominokit.domino.ui.loaders;
import elemental2.dom.DomGlobal;
import org.jboss.gwt.elemento.template.TemplateUtil;
import javax.annotation.Generated;
/*
* WARNING! This class is generated. Do not modify.
*/
@Generated("org.jboss.gwt.elemento.processor.TemplatedProcessor")
public final class Templated_Win8LinearLoader extends Win8LinearLoader {
private final elemental2.dom.HTMLDivElement templated_win8linearloader_root_element;
public Templated_Win8LinearLoader() {
this.templated_win8linearloader_root_element = (elemental2.dom.HTMLDivElement)DomGlobal.document.createElement("div");
this.templated_win8linearloader_root_element.setAttribute("class", "waitMe");
this.templated_win8linearloader_root_element.setAttribute("style", "background: rgba(255, 255, 255, 0.9);");
this.templated_win8linearloader_root_element.innerHTML = " Loading... ";
if (this.loadingText == null) {
this.loadingText = TemplateUtil.resolveElementAs(templated_win8linearloader_root_element, "loadingText");
} else {
TemplateUtil.replaceElement(templated_win8linearloader_root_element, "loadingText", loadingText);
}
if (this.loader == null) {
this.loader = TemplateUtil.resolveElementAs(templated_win8linearloader_root_element, "loader");
} else {
TemplateUtil.replaceElement(templated_win8linearloader_root_element, "loader", loader);
}
init();
}
@Override
public elemental2.dom.HTMLDivElement asElement() {
return templated_win8linearloader_root_element;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy