[]
        
(Showing Draft Content)

wjInputNumber Class

wjInputNumber Class

KnockoutJS binding for the InputNumber control.

Use the wjInputNumber binding to add InputNumber controls to your KnockoutJS applications. For example:

<p>Here is an InputNumber control:</p>
<div data-bind="wjInputNumber: {
  value: theNumber,
  min: 0,
  max: 10,
  format: 'n0',
  placeholder: 'number between zero and ten' }">
</div>

The wjInputNumber binding supports all read-write properties and events of the InputNumber control. The following properties provide two-way binding mode:

  • value
  • text

Heirarchy

  • WjBinding
    • wjInputNumber