All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dominokit.domino.ui.loaders.BaseLoader Maven / Gradle / Ivy

There is a newer version: 1.0.139
Show newest version
package org.dominokit.domino.ui.loaders;

import elemental2.dom.HTMLDivElement;
import org.dominokit.domino.ui.utils.BaseDominoElement;
import org.jboss.elemento.IsElement;

import static org.jboss.elemento.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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy