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

js.web.dom.OverflowEvent Maven / Gradle / Ivy

package js.web.dom;

import js.extras.JsEnum;
import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;


public interface OverflowEvent extends UIEvent {
    @JSBody(script = "return OverflowEvent.prototype")
    static OverflowEvent prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return new OverflowEvent()")
    static OverflowEvent create() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSProperty
    boolean isHorizontalOverflow();

    @JSProperty
    Orient getOrient();

    @JSProperty
    boolean isVerticalOverflow();

    abstract class Orient extends JsEnum {
        public static final Orient BOTH = JsEnum.from("OverflowEvent.BOTH");

        public static final Orient HORIZONTAL = JsEnum.from("OverflowEvent.HORIZONTAL");

        public static final Orient VERTICAL = JsEnum.from("OverflowEvent.VERTICAL");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy