check() {
        if (!this.cf) {
            this.cf = {};
        }
        if (!this.ct) {
            this.ct = {};
        }
        for (const prop of this.prop) {
            // From
            if (!this.f) {
                this.cf[prop] = this.obj[prop];
            }
            else {
                this.cf[prop] = this.f[prop];
                this.obj[prop] = this.f[prop];
            }
            // Relative
            if (this.relative) {
                this.ct[prop] = this.obj[prop] + this.t[prop];
            }
            else {
                this.ct[prop] = this.t[prop];
            }
        }
    }
/**
     * Method used to calculate currentFrom/currentTo based on the config
     *
     * @protected
     */
Method used to calculate currentFrom/currentTo based on the config
@protected
Method used to calculate currentFrom / currentTo based on the config @protected
check() {
        if (!this.cf) {
            this.cf = {};
        }
        if (!this.ct) {
            this.ct = {};
        }
        for (const prop of this.prop) {
            if (!this.f) {
                this.cf[prop] = this.obj[prop];
            }
            else {
                this.cf[prop] = this.f[prop];
                this.obj[prop] = this.f[prop];
            }
            if (this.relative) {
                this.ct[prop] = this.obj[prop] + this.t[prop];
            }
            else {
                this.ct[prop] = this.t[prop];
            }
        }
    }
check ( ) { if ( ! this . cf ) { this . cf = { } ; } if ( ! this . ct ) { this . ct = { } ; } for ( const prop of this . prop ) { if ( ! this . f ) { this . cf [ prop ] = this . obj [ prop ] ; } else { this . cf [ prop ] = this . f [ prop ] ; this . obj [ prop ] = this . f [ prop ] ; } if ( this . relative ) { this . ct [ prop ] = this . obj [ prop ] + this . t [ prop ] ; } else { this . ct [ prop ] = this . t [ prop ] ; } } }
Method used to calculate currentFrom/currentTo based on the config
 @protected
Method used to calculate currentFrom / currentTo based on the config @protected
// From // Relative