Example usage for com.google.gwt.dom.client InputElement hasAttribute

List of usage examples for com.google.gwt.dom.client InputElement hasAttribute

Introduction

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

Prototype

@Override
    public boolean hasAttribute(String name) 

Source Link

Usage

From source file:org.opencms.gwt.client.ui.input.upload.CmsFileInputFileApiImpl.java

License:Open Source License

/**
 * @see org.opencms.gwt.client.ui.input.upload.I_CmsFileInputService#isAllowMultipleFiles(com.google.gwt.dom.client.InputElement)
 *///from   w ww  .j ava2s.c  o m
public boolean isAllowMultipleFiles(InputElement inputElement) {

    return inputElement.hasAttribute("multiple");
}