code: protected void setIntToRangeElement(String attribute, Integer val) {
          Element ele = $(rangeInputElement).asElement();
          if (ele != null) {
              ele.setPropertyInt(attribute, val);
          }
      }
docs: Set the given Integer value to the attribute of the range element.