From c886feca79c587f50355bf11a8d973ebf6e51025 Mon Sep 17 00:00:00 2001 From: Alexis Faizeau Date: Wed, 27 Oct 2021 12:12:42 +0200 Subject: [PATCH] Add max iframe count on doc --- docs/maps/api-nav.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/maps/api-nav.md b/docs/maps/api-nav.md index d1e045bc..465f8063 100644 --- a/docs/maps/api-nav.md +++ b/docs/maps/api-nav.md @@ -56,6 +56,7 @@ WA.nav.openCoWebSite(url: string, allowApi: boolean = false, allowPolicy: string ``` Opens the webpage at "url" in an iFrame (on the right side of the screen) or close that iFrame. `allowApi` allows the webpage to use the "IFrame API" and execute script (it is equivalent to putting the `openWebsiteAllowApi` property in the map). `allowPolicy` grants additional access rights to the iFrame. The `allowPolicy` parameter is turned into an [`allow` feature policy in the iFrame](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-allow), position in whitch slot the web page will be open. +You can have only 5 co-wbesites open simultaneously. Example: @@ -72,7 +73,7 @@ coWebsite.close(); WA.nav.getCoWebSites(): Promise ``` -Get all opened co-websites withe their ids and positions. +Get all opened co-websites with their ids and positions. Example: