_changeHandler(e) {
    if (!e.cancelable) {
      return;
    }
    e.preventDefault();
    e.stopPropagation();
    const { name } = e.detail;
    if (!name) {
      e.detail.result = Promise.reject(new Error('Name is not set.'));
      return;
    }
    e.detail.result = this.store(name, e.detail.value);
  }
/**
   * A handler for window `settings-changed` custom event.
   * Sends the intent to the main proces to update preferences.
   * @param {CustomEvent} e
   */
A handler for window `settings-changed` custom event.
Sends the intent to the main proces to update preferences.
A handler for window ` settings - changed ` custom event . Sends the intent to the main proces to update preferences .
_changeHandler(e) {
    if (!e.cancelable) {
      return;
    }
    e.preventDefault();
    e.stopPropagation();
    const { name } = e.detail;
    if (!name) {
      e.detail.result = Promise.reject(new Error('Name is not set.'));
      return;
    }
    e.detail.result = this.store(name, e.detail.value);
  }
_changeHandler ( e ) { if ( ! e . cancelable ) { return ; } e . preventDefault ( ) ; e . stopPropagation ( ) ; const { name } = e . detail ; if ( ! name ) { e . detail . result = Promise . reject ( new Error ( 'Name is not set.' ) ) ; return ; } e . detail . result = this . store ( name , e . detail . value ) ; }
A handler for window `settings-changed` custom event.
A handler for window ` settings - changed ` custom event .