Blame view

src/InputNumber/InputNumber.html 937 Bytes
3a3ecabe   Imshann   init
1
2
3
4
5
6
7
8
9
10
11
12
13
  <div className={"ant-input-number" + (state.disabled?" ant-input-number-disabled":"")}>
      <div className="ant-input-number-handler-wrap">
          <span className="ant-input-number-handler ant-input-number-handler-up" onClick={this.handleClick.bind(this, "up")}>
              <span className="anticon anticon-up ant-input-number-handler-up-inner"></span>
          </span>
          <span className="ant-input-number-handler ant-input-number-handler-down" onClick={this.handleClick.bind(this, "down")}>
              <span className="anticon anticon-down ant-input-number-handler-down-inner"></span>
          </span>
      </div>
      <div className="ant-input-number-input-wrap">
          <input className="ant-input-number-input" autocomplete="off" onBlur={this.handleBlur.bind(this, $event)} onChange={this.handleChange} onMousedown={this.handleClickInput.bind(this, $event)} ng-model="state.value" disabled={state.disabled}/>
      </div>
  </div>