addEventListeners_() {
      this.tracker_.add(
          this.destinationStore_,
          print_preview.DestinationStore.EventType
              .SELECTED_DESTINATION_CAPABILITIES_READY,
          this.onSelectedDestinationCapabilitiesReady_.bind(this));

      this.tracker_.add(
          this.destinationStore_,
          print_preview.DestinationStore.EventType
              .CACHED_SELECTED_DESTINATION_INFO_READY,
          this.onSelectedDestinationCapabilitiesReady_.bind(this));

      // TODO(rltoscano): Print ticket store shouldn't be re-dispatching these
      // events, the consumers of the print ticket store events should listen
      // for the events from document info instead. Will move this when
      // consumers are all migrated.
      this.tracker_.add(
          this.documentInfo_, print_preview.DocumentInfo.EventType.CHANGE,
          this.onDocumentInfoChange_.bind(this));
    }
/**
     * Adds event listeners for the print ticket store.
     * @private
     */
Adds event listeners for the print ticket store.
@private
Adds event listeners for the print ticket store . @private
addEventListeners_() {
      this.tracker_.add(
          this.destinationStore_,
          print_preview.DestinationStore.EventType
              .SELECTED_DESTINATION_CAPABILITIES_READY,
          this.onSelectedDestinationCapabilitiesReady_.bind(this));
      this.tracker_.add(
          this.destinationStore_,
          print_preview.DestinationStore.EventType
              .CACHED_SELECTED_DESTINATION_INFO_READY,
          this.onSelectedDestinationCapabilitiesReady_.bind(this));
      this.tracker_.add(
          this.documentInfo_, print_preview.DocumentInfo.EventType.CHANGE,
          this.onDocumentInfoChange_.bind(this));
    }
addEventListeners_ ( ) { this . tracker_ . add ( this . destinationStore_ , print_preview . DestinationStore . EventType . SELECTED_DESTINATION_CAPABILITIES_READY , this . onSelectedDestinationCapabilitiesReady_ . bind ( this ) ) ; this . tracker_ . add ( this . destinationStore_ , print_preview . DestinationStore . EventType . CACHED_SELECTED_DESTINATION_INFO_READY , this . onSelectedDestinationCapabilitiesReady_ . bind ( this ) ) ; this . tracker_ . add ( this . documentInfo_ , print_preview . DocumentInfo . EventType . CHANGE , this . onDocumentInfoChange_ . bind ( this ) ) ; }
Adds event listeners for the print ticket store.
Adds event listeners for the print ticket store .
// TODO(rltoscano): Print ticket store shouldn't be re-dispatching these // events, the consumers of the print ticket store events should listen // for the events from document info instead. Will move this when // consumers are all migrated.