Java 类com.google.gwt.user.client.ui.ValueBox 实例源码
项目:platypus-js
文件:ConstraintedSpinnerBox.java
public ConstraintedSpinnerBox(ValueBox<Double> aDecorated) {
super(aDecorated);
if (Utils.isMobile()) {
field.getElement().<InputElement>cast().setAttribute("type", "number");
}
}