org.dominokit.domino.ui.layout.Overlay Maven / Gradle / Ivy
package org.dominokit.domino.ui.layout;
import elemental2.dom.HTMLDivElement;
import org.dominokit.domino.ui.utils.BaseDominoElement;
import org.jboss.elemento.IsElement;
import static org.jboss.elemento.Elements.div;
public class Overlay extends BaseDominoElement implements IsElement {
private HTMLDivElement element;
public Overlay() {
element = div().css(LayoutStyles.OVERLAY)
.element();
init(this);
}
public static Overlay create(){
return new Overlay();
}
@Override
public HTMLDivElement element() {
return element;
}
}