Wijmo UI for the Web
negativeClass Option
wijmo.input.wijinputnumber Namespace > options type : negativeClass Option

Determine the class string that when the input value is negative.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijinputnumber("option", "negativeClass");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijinputnumber("option", "negativeClass", newValue);
        
});
var negativeClass : string;
Example
// <style type="text/css" rel="stylesheet">
 //         .negative {
 //             background: yellow;
 //             color: red !important;
 //         }
 //</style>
$("#textbox1").wijinputnumber({
      negativeClass: 'negative'
        
});
Remarks
When the number widget's value is negative, the negativeClass will apply the number input.
See Also

Reference

options type
wijinputnumber jQuery Widget