* Gets display configuration options for the opened dialog. Uses the * responsive desktop design properties if the updated offer flows UI (for * SwG Basic) is enabled. Permits override to allow scrolling. * @param {!../model/client-config.ClientConfig} clientConfig * @param {boolean} sho
(clientConfig, shouldAllowScroll)
| 6506 | * @return {!../components/dialog.DialogConfig} |
| 6507 | */ |
| 6508 | getDialogConfig_(clientConfig, shouldAllowScroll) { |
| 6509 | return clientConfig.useUpdatedOfferFlows |
| 6510 | ? { |
| 6511 | desktopConfig: {isCenterPositioned: true, supportsWideScreen: true}, |
| 6512 | shouldDisableBodyScrolling: !shouldAllowScroll, |
| 6513 | } |
| 6514 | : {}; |
| 6515 | } |
| 6516 | |
| 6517 | /** |
| 6518 | * Returns the full URL that should be used for the activity iFrame view. |