function decorateInputForDragon(element) {
    const valuePropertyDescriptor = getInputValuePropertyDescriptor(element);

    Object.defineProperty(element, 'value', {
        set(value) {
            valuePropertyDescriptor.set.call(this, value);
            this.dispatchEvent(new CustomEvent('input'));
        },
        get: valuePropertyDescriptor.get,
        enumerable: true,
        configurable: true
    });
}
/**
 *
 * Decorates an input element to fire an "input"
 * event when the value is directly set.
 *
 * @param {HTMLElement} element The element to decorate.
 *
 */
Decorates an input element to fire an "input"
event when the value is directly set.

@param {HTMLElement} element The element to decorate.
Decorates an input element to fire an " input " event when the value is directly set . @param { HTMLElement } element The element to decorate .
function decorateInputForDragon(element) {
    const valuePropertyDescriptor = getInputValuePropertyDescriptor(element);
    Object.defineProperty(element, 'value', {
        set(value) {
            valuePropertyDescriptor.set.call(this, value);
            this.dispatchEvent(new CustomEvent('input'));
        },
        get: valuePropertyDescriptor.get,
        enumerable: true,
        configurable: true
    });
}
function decorateInputForDragon ( element ) { const valuePropertyDescriptor = getInputValuePropertyDescriptor ( element ) ; Object . defineProperty ( element , 'value' , { set ( value ) { valuePropertyDescriptor . set . call ( this , value ) ; this . dispatchEvent ( new CustomEvent ( 'input' ) ) ; } , get : valuePropertyDescriptor . get , enumerable : true , configurable : true } ) ; }
Decorates an input element to fire an "input"
 event when the value is directly set.
Decorates an input element to fire an " input " event when the value is directly set .