lemonadejs
Advanced tools
Comparing version 4.3.1 to 4.3.2
/** | ||
* LemonadeJS v4.3.0 (ESM build) | ||
* LemonadeJS v4.3.2 (ESM build) | ||
* | ||
@@ -1184,2 +1184,4 @@ * Website: https://lemonadejs.net | ||
* @param {string} name - web component name | ||
* @param {function} handler - lemonadejs component | ||
* @param {object} options - options to create the web components | ||
*/ | ||
@@ -1231,5 +1233,3 @@ L.createWebComponent = function(name, handler, options) { | ||
// Give the browser time to calculate all width and heights | ||
requestAnimationFrame(() => { | ||
L.render(handler, root, self); | ||
}); | ||
L.render(handler, root, self, ''); | ||
} | ||
@@ -1236,0 +1236,0 @@ } |
@@ -99,5 +99,5 @@ /** | ||
* @param {function} handler LemonadeJS component | ||
* @param {object} options Options for your webcomponent | ||
* @param {object?} options Options for your webcomponent | ||
*/ | ||
function createWebComponent(name: string, handler: Function, options: WebComponentOptions) : any; | ||
function createWebComponent(name: string, handler: Function, options?: WebComponentOptions) : any; | ||
@@ -104,0 +104,0 @@ /** |
@@ -1237,5 +1237,3 @@ /** | ||
// Give the browser time to calculate all width and heights | ||
requestAnimationFrame(() => { | ||
L.render(handler, root, self); | ||
}); | ||
L.render(handler, root, self, ''); | ||
} | ||
@@ -1242,0 +1240,0 @@ } |
@@ -42,3 +42,3 @@ { | ||
"types": "dist/lemonade.d.ts", | ||
"version": "4.3.1" | ||
"version": "4.3.2" | ||
} |
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
103365
2439