From 4c68635f4d5530c267f2c9b2e166e94d9ac4a314 Mon Sep 17 00:00:00 2001 From: Arthur Carre Date: Fri, 8 Jun 2018 10:51:12 -0700 Subject: [PATCH] Adding additional bodyPadding to IFrameOptions This change add the missing bodyPadding to the IFrameOptions definition of iframe-resizer --- types/iframe-resizer/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/iframe-resizer/index.d.ts b/types/iframe-resizer/index.d.ts index 3858cab780..6e67a5b592 100644 --- a/types/iframe-resizer/index.d.ts +++ b/types/iframe-resizer/index.d.ts @@ -32,6 +32,11 @@ export interface IFrameOptions { * CSS margin attribute, for example '8px 3em'. A number value is converted into px. */ bodyMargin?: number | string; + /** + * Override the default body padding style in the iFrame. A string can be any valid value for the + * CSS margin attribute, for example '8px 3em'. A number value is converted into px. + */ + bodyPadding?: number | string; /** * When set to true, only allow incoming messages from the domain listed in the src property of the iFrame tag. * If your iFrame navigates between different domains, ports or protocols; then you will need to