@luigi-project/container 1.6.0-dev.202503120032 → 1.6.0-dev.202503140032
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,7 +28,7 @@ export default class LuigiContainer extends HTMLElement {
|
|
|
28
28
|
* @since 1.0.0
|
|
29
29
|
*
|
|
30
30
|
*
|
|
31
|
-
* @example <luigi-container
|
|
31
|
+
* @example <luigi-container viewurl="/index.html" context='{"label": "Dashboard"}'></luigi-container>
|
|
32
32
|
* @example myContainer.context = {label: "Dashboard"}
|
|
33
33
|
*/
|
|
34
34
|
context: string;
|
|
@@ -37,7 +37,7 @@ export default class LuigiContainer extends HTMLElement {
|
|
|
37
37
|
* Label information for the microfrontend.
|
|
38
38
|
* @since 1.0.0
|
|
39
39
|
*
|
|
40
|
-
* @example <luigi-container
|
|
40
|
+
* @example <luigi-container viewurl="/index.html" label="Dashboard"></luigi-container>
|
|
41
41
|
* @example myContainer.label = "Dashboard"
|
|
42
42
|
*/
|
|
43
43
|
label: string;
|
|
@@ -274,6 +274,14 @@ export default class LuigiContainer extends HTMLElement {
|
|
|
274
274
|
*/
|
|
275
275
|
notifyConfirmationModalClosed(result: boolean): void;
|
|
276
276
|
|
|
277
|
+
/**
|
|
278
|
+
* Updates route of the microfrontend by sending a message to the iframe that sets new view URL.
|
|
279
|
+
* @param {string} viewurl new view URL
|
|
280
|
+
* @param {Object} internal Luigi legacy data (optional)
|
|
281
|
+
* @since 1.5.0
|
|
282
|
+
*/
|
|
283
|
+
updateViewUrl(viewurl: string, internal?: object): void;
|
|
284
|
+
|
|
277
285
|
/**
|
|
278
286
|
* Manually triggers the micro frontend rendering process when using defer-init attribute.
|
|
279
287
|
* @example
|
package/package.json
CHANGED