_setValidState() {
        if (this.isInputElement) {
            AutoNumericHelper.setValidState(this.domElement);
        } else {
            this._removeCSSClass(this.settings.invalidClass);
        }

        if (!this.validState) {
            this._triggerEvent(AutoNumeric.events.correctedValue, this.domElement);
        }

        this.validState = true;
    }
Set the valid state on the AutoNumeric element.
If the element is not an input, and therefore a contenteditable-enabled element, its validity state cannot be changed.
In that case, the invalid css class defined with the `settings.invalidClass` option is removed.
The 'autoNumeric:correctedValue' event is sent if the element state is invalid when this is called.

@private