opentok-layout-js
Advanced tools
Comparing version 4.2.0 to 4.4.0
{ | ||
"name": "opentok-layout-js", | ||
"version": "4.2.0", | ||
"version": "4.4.0", | ||
"homepage": "https://github.com/aullman/opentok-layout-js", | ||
@@ -5,0 +5,0 @@ "authors": [ |
{ | ||
"name": "opentok-layout-js", | ||
"version": "4.2.0", | ||
"version": "4.4.0", | ||
"description": "Automatic layout of video elements (publisher and subscriber) minimising white-space for the OpenTok on WebRTC API. This is intended for use with the OpenTok on WebRTC JS API.", | ||
@@ -5,0 +5,0 @@ "main": "opentok-layout.js", |
@@ -23,2 +23,4 @@ declare module 'opentok-layout-js' { | ||
minRatio?: number; | ||
containerWidth?: number; | ||
containerHeight?: number; | ||
smallAlignItems?: alignOptions; | ||
@@ -29,3 +31,3 @@ smallMaxHeight?: number; | ||
bigScaleLastRow?: boolean; | ||
onLayout?: Function, | ||
onLayout?: (element: HTMLElement, dimensions: { width: number, height: number, top: number, left: number }) => void, | ||
window?: Window; | ||
@@ -54,6 +56,3 @@ }; | ||
export default function initLayoutContainer( | ||
container: HTMLElement | string, | ||
opts: Options | ||
): LayoutContainer; | ||
export default function initLayoutContainer(...args: [HTMLElement | string, Options] | [Options]): LayoutContainer; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
153087
2450