diff options
Diffstat (limited to 'vid-webpack-master/src/app/shared/utils/iframe.service.ts')
-rw-r--r-- | vid-webpack-master/src/app/shared/utils/iframe.service.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vid-webpack-master/src/app/shared/utils/iframe.service.ts b/vid-webpack-master/src/app/shared/utils/iframe.service.ts index 9a6636f4e..4c699825f 100644 --- a/vid-webpack-master/src/app/shared/utils/iframe.service.ts +++ b/vid-webpack-master/src/app/shared/utils/iframe.service.ts @@ -16,4 +16,19 @@ export class IframeService { parentBodyElement.classList.remove("modal-open"); } } + + + addFullScreen(){ + let parentBodyElement = parent.document.getElementsByClassName('service-model-content')[0]; + if (parentBodyElement) { + parentBodyElement.classList.add("full-screen"); + } + } + + removeFullScreen(){ + let parentBodyElement = parent.document.getElementsByClassName('service-model-content')[0]; + if (parentBodyElement) { + parentBodyElement.classList.remove("full-screen"); + } + } } |