PMCORE-2854: Dynaform does not complete the screen size

fix code style
This commit is contained in:
Rodrigo Quelca
2021-03-12 16:58:52 +00:00
parent 290e2a17f5
commit ba1ca905af

View File

@@ -47,6 +47,7 @@ export default {
} }
}); });
}, 2000); }, 2000);
window.addEventListener("resize", this.handleIframeResize);
}, },
data() { data() {
return { return {
@@ -71,6 +72,13 @@ export default {
} }
}, },
onLoadIframe() {}, onLoadIframe() {},
/**
* Resize event Handler
* @param {object} e
*/
handleIframeResize(e) {
this.height = window.innerHeight - this.diffHeight;
}
}, },
}; };
</script> </script>