init(isModifiable, title, hasSelection) {
      this.isModifiable_ = isModifiable;
      this.title_ = title;
      this.hasSelection_ = hasSelection;
      this.isInitialized_ = true;
      cr.dispatchSimpleEvent(this, DocumentInfo.EventType.CHANGE);
    }
/**
     * Initializes the state of the data model and dispatches a CHANGE event.
     * @param {boolean} isModifiable Whether the document is modifiable.
     * @param {string} title Title of the document.
     * @param {boolean} hasSelection Whether the document has user-selected
     *     content.
     */
Initializes the state of the data model and dispatches a CHANGE event.
@param {boolean} isModifiable Whether the document is modifiable.
@param {string} title Title of the document.
@param {boolean} hasSelection Whether the document has user-selected
content.
Initializes the state of the data model and dispatches a CHANGE event . @param { boolean } isModifiable Whether the document is modifiable . @param { string } title Title of the document . @param { boolean } hasSelection Whether the document has user - selected content .
init(isModifiable, title, hasSelection) {
      this.isModifiable_ = isModifiable;
      this.title_ = title;
      this.hasSelection_ = hasSelection;
      this.isInitialized_ = true;
      cr.dispatchSimpleEvent(this, DocumentInfo.EventType.CHANGE);
    }
init ( isModifiable , title , hasSelection ) { this . isModifiable_ = isModifiable ; this . title_ = title ; this . hasSelection_ = hasSelection ; this . isInitialized_ = true ; cr . dispatchSimpleEvent ( this , DocumentInfo . EventType . CHANGE ) ; }
Initializes the state of the data model and dispatches a CHANGE event.
Initializes the state of the data model and dispatches a CHANGE event .