persistField(field, value) {
      if (!this.isInitialized_)
        return;
      if (field == print_preview.AppStateField.CUSTOM_MARGINS) {
        this.state_[field] = value ? value.serialize() : null;
      } else {
        this.state_[field] = value;
      }
      this.persist_();
    }
/**
     * Persists the given value for the given field.
     * @param {!print_preview.AppStateField} field Field to persist.
     * @param {?} value Value of field to persist.
     */
Persists the given value for the given field.
Persists the given value for the given field .
persistField(field, value) {
      if (!this.isInitialized_)
        return;
      if (field == print_preview.AppStateField.CUSTOM_MARGINS) {
        this.state_[field] = value ? value.serialize() : null;
      } else {
        this.state_[field] = value;
      }
      this.persist_();
    }
persistField ( field , value ) { if ( ! this . isInitialized_ ) return ; if ( field == print_preview . AppStateField . CUSTOM_MARGINS ) { this . state_ [ field ] = value ? value . serialize ( ) : null ; } else { this . state_ [ field ] = value ; } this . persist_ ( ) ; }
Persists the given value for the given field.
Persists the given value for the given field .