You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| displayid _or_ url ||**Required.** Either the id or the url of the nfinite Display. |
63
-
| token ||**Required.** Token generated in my.nfinite.app (in the service user section). |
64
-
| productcode || Load scenes where the product is visible (identified by its code). Only available for "Product Focus" |
65
-
| responsive |`true` (if no width and height set) | Resize according to its parent element, this parameter is incompatible with `height` and `width` parameters |
66
-
| height || The exact height of the Display. Defaults to the height of the largest available version of the Display. |
67
-
| width || The exact width of the Display. Defaults to the width of the largest available version of the Display. |
68
-
| displayUrl |`https://display.nfinite.app`| Override the generated base url for the Display (useful in development mode). |
69
-
| oembedUrl |`https://display.nfinite.app/api/oembed`| Override the generated base url for oembed api (useful in development mode). |
70
-
| language | default language set in my.nfinite.app | One of the defined language in my.nfinite.app (in the platform section). |
| displayid _or_ url ||**Required.** Either the id or the url of the nfinite Display. |
63
+
| token ||**Required.** Token generated in my.nfinite.app (in the service user section). |
64
+
| productcode || Load scenes where the product is visible (identified by its code). Only available for "Product Focus" |
65
+
| responsive |`true` (if no width and height set) | Resize according to its parent element, this parameter is incompatible with `height` and `width` parameters |
66
+
| height || The exact height of the Display. Defaults to the height of the largest available version of the Display. |
67
+
| width || The exact width of the Display. Defaults to the width of the largest available version of the Display. |
68
+
| displayUrl |`https://display.nfinite.app`| Override the generated base url for the Display (useful in development mode). |
69
+
| oembedUrl |`https://display.nfinite.app/api/oembed`| Override the generated base url for oembed api (useful in development mode). |
70
+
| language | default language set in my.nfinite.app | One of the defined language in my.nfinite.app (in the platform section). |
71
+
| initialProducts ![infinite]![beta]|| Permit to set some product codes as default in the Display |
72
+
| initialProductsMode ![infinite]![beta]|`default`| Permit to choose the mode to display products not set in `initialProducts`|
| onChangeProduct || Callback on scene change, it receives the an object with the `prevProduct` and the `nextProduct` as argument |
52
-
| onChangeScene || Callback on scene change, it receives the `new scene` as argument (it will also be triggered at the load of the scene) |
53
-
| onLoadScene || Callback on scene load, it receives the `initial scene` as argument |
54
-
| onProductClick ![beta]|| Callback on product CTA click, it receives the `product` as argument |
55
-
| onChangeSelectedProductLocation || Callback when a location is opened (marker clicked) or closed, it receives the `currentProduct` as argument (or nothing when closed) |
| initialProducts ![beta]|| Permit to set some product codes as default in the Display |
52
+
| initialProductsMode ![beta]|`default`| Permit to choose the mode to display products not set in `initialProducts`|
53
+
| onChangeProduct || Callback on scene change, it receives the an object with the `prevProduct` and the `nextProduct` as argument |
54
+
| onChangeScene || Callback on scene change, it receives the `new scene` as argument (it will also be triggered at the load of the scene) |
55
+
| onLoadScene || Callback on scene load, it receives the `initial scene` as argument |
56
+
| onProductClick ![beta]|| Callback on product CTA click, it receives the `product` as argument |
57
+
| onChangeSelectedProductLocation || Callback when a location is opened (marker clicked) or closed, it receives the `currentProduct` as argument (or nothing when closed) |
0 commit comments