mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-19 05:03:32 +08:00
Adding additional bodyPadding to IFrameOptions
This change add the missing bodyPadding to the IFrameOptions definition of iframe-resizer
This commit is contained in:
5
types/iframe-resizer/index.d.ts
vendored
5
types/iframe-resizer/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user