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

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

Introduction

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

Prototype

public String getOverflowX() 

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");
}