extensions/amp-story/1.0/amp-story.js
/**
   * Handle resize events and set the story's desktop state.
   * @visibleForTesting
   */
Handle resize events and set the story's desktop state.
Handle resize events and set the story ' s desktop state .
onResizeDebounced() {
    this.uiState_ = this.getUIType_();
    this.storeService_.dispatch(Action.TOGGLE_UI, this.uiState_);
    const isLandscape = this.isLandscape_();
    const isLandscapeSupported = this.isLandscapeSupported_();
    this.setOrientationAttribute_(isLandscape, isLandscapeSupported);
  }
onResizeDebounced ( ) { this . uiState_ = this . getUIType_ ( ) ; this . storeService_ . dispatch ( Action . TOGGLE_UI , this . uiState_ ) ; const isLandscape = this . isLandscape_ ( ) ; const isLandscapeSupported = this . isLandscapeSupported_ ( ) ; this . setOrientationAttribute_ ( isLandscape , isLandscapeSupported ) ; }
Handle resize events and set the story's desktop state.
Handle resize events and set the story ' s desktop state .