Adding additional bodyPadding to IFrameOptions

This change add the missing bodyPadding to the IFrameOptions definition of iframe-resizer
This commit is contained in:
Arthur Carre
2018-06-08 10:51:12 -07:00
parent ebadb7272e
commit 4c68635f4d

View File

@@ -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