Example usage for com.google.gwt.dom.client Style getOverflowY

List of usage examples for com.google.gwt.dom.client Style getOverflowY

Introduction

In this page you can find the example usage for com.google.gwt.dom.client Style getOverflowY.

Prototype

public String getOverflowY() 

Source Link

Usage

From source file:org.cruxframework.crux.core.client.utils.DOMUtils.java

License:Apache License

public static boolean isOverflowEnabled(Element e) {
    Style style = e.getStyle();
    String overflow = style.getOverflow() + style.getOverflowX() + style.getOverflowY();
    return overflow.contains("auto") || overflow.contains("scroll");
}