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

org.dominokit.domino.ui.popover.PopupPosition Maven / Gradle / Ivy

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

import elemental2.dom.HTMLElement;

public interface PopupPosition {
    void position(HTMLElement tooltip, HTMLElement target);

    String getDirectionClass();

    PopupPosition RIGHT = new PopupPositionRight();
    PopupPosition TOP = new PopupPositionTop();
    PopupPosition LEFT = new PopupPositionLeft();
    PopupPosition BOTTOM = new PopupPositionBottom();
    /**
     * use {@link PopupPosition#BEST_FIT}
     */
    @Deprecated
    PopupPosition TOP_DOWN = new PopupPositionTopDown();
    PopupPosition BEST_FIT = new PopupPositionBestFit();
    PopupPosition LEFT_RIGHT = new PopupPositionLeftRight();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy