Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/iframe-resizer

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/iframe-resizer - npm Package Compare versions

Comparing version 3.5.8 to 3.5.9

46

iframe-resizer/index.d.ts

@@ -32,7 +32,7 @@ // Type definitions for iframe-resizer 3.5

*/
autoResize?: boolean;
autoResize?: boolean | undefined;
/**
* Override the body background style in the iFrame.
*/
bodyBackground?: string;
bodyBackground?: string | undefined;
/**

@@ -42,3 +42,3 @@ * Override the default body margin style in the iFrame. A string can be any valid value for the

*/
bodyMargin?: number | string;
bodyMargin?: number | string | undefined;
/**

@@ -48,3 +48,3 @@ * Override the default body padding style in the iFrame. A string can be any valid value for the

*/
bodyPadding?: number | string;
bodyPadding?: number | string | undefined;
/**

@@ -55,15 +55,15 @@ * When set to true, only allow incoming messages from the domain listed in the src property of the iFrame tag.

*/
checkOrigin?: boolean | string[];
checkOrigin?: boolean | string[] | undefined;
/**
* When enabled in page linking inside the iFrame and from the iFrame to the parent page will be enabled.
*/
inPageLinks?: boolean;
inPageLinks?: boolean | undefined;
/**
* Height calculation method.
*/
heightCalculationMethod?: HeightCalculationMethod;
heightCalculationMethod?: HeightCalculationMethod | undefined;
/**
* Set iFrame Id
*/
id?: string;
id?: string | undefined;
/**

@@ -73,3 +73,3 @@ * In browsers that don't support mutationObserver, such as IE10, the library falls back to using

*/
interval?: number;
interval?: number | undefined;
/**

@@ -79,19 +79,19 @@ * Setting the log option to true will make the scripts in both the host page and the iFrame output

*/
log?: boolean;
log?: boolean | undefined;
/**
* Set maximum height of iFrame.
*/
maxHeight?: number;
maxHeight?: number | undefined;
/**
* Set maximum width of iFrame.
*/
maxWidth?: number;
maxWidth?: number | undefined;
/**
* Set minimum height of iFrame.
*/
minHeight?: number;
minHeight?: number | undefined;
/**
* Set minimum width of iFrame.
*/
minWidth?: number;
minWidth?: number | undefined;
/**

@@ -102,23 +102,23 @@ * Listen for resize events from the parent page, or the iFrame. Select the 'child' value if the iFrame

*/
resizeFrom?: 'parent' | 'child';
resizeFrom?: 'parent' | 'child' | undefined;
/**
* Enable scroll bars in iFrame.
*/
scrolling?: boolean | 'auto';
scrolling?: boolean | 'auto' | undefined;
/**
* Resize iFrame to content height.
*/
sizeHeight?: boolean;
sizeHeight?: boolean | undefined;
/**
* Resize iFrame to content width.
*/
sizeWidth?: boolean;
sizeWidth?: boolean | undefined;
/**
* Set the number of pixels the iFrame content size has to change by, before triggering a resize of the iFrame.
*/
tolerance?: number;
tolerance?: number | undefined;
/**
* Width calculation method.
*/
widthCalculationMethod?: WidthCalculationMethod;
widthCalculationMethod?: WidthCalculationMethod | undefined;

@@ -161,3 +161,3 @@ /**

*/
targetOrigin?: string;
targetOrigin?: string | undefined;

@@ -177,7 +177,7 @@ /**

*/
heightCalculationMethod?: HeightCalculationMethod | (() => number);
heightCalculationMethod?: HeightCalculationMethod | (() => number) | undefined;
/**
* These option can be used to override the option set in the parent page
*/
widthCalculationMethod?: WidthCalculationMethod | (() => number);
widthCalculationMethod?: WidthCalculationMethod | (() => number) | undefined;
}

@@ -184,0 +184,0 @@

{
"name": "@types/iframe-resizer",
"version": "3.5.8",
"version": "3.5.9",
"description": "TypeScript definitions for iframe-resizer",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/iframe-resizer",
"license": "MIT",

@@ -14,3 +15,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -23,4 +24,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "e98de468f98fe02ec1d6bace0abbf399ac41c033647357994c0135e05ea702d4",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "72b65da9842a83a7bb6fcddbcf5b19976c3bf40942a7075400d8678e67e11ed8",
"typeScriptVersion": "3.6"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/iframe-resizer
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/iframe-resizer.
Additional Details
* Last updated: Mon, 04 Nov 2019 17:25:39 GMT
### Additional Details
* Last updated: Thu, 08 Jul 2021 14:23:06 GMT
* Dependencies: none
* Global values: iframeResizer
* Global values: `iframeResizer`
# Credits
These definitions were written by Armin Baljic <https://github.com/arminbaljic>.
These definitions were written by [Armin Baljic](https://github.com/arminbaljic).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc