Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

Commit dd1053d

Browse files
committed
Update docs about parentElement
1 parent 50af7c7 commit dd1053d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

source/includes/_embed2.md.erb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ Embed1 Feature | Status | Comments
150150
-------------- | -------------- | --------------
151151
`authCallback` | Modified | Renamed to `zdChatterAuthCallback`.
152152
`crossWindowPersistence` | Modified | Simplified to accept a boolean instead of an object.
153-
`dragAndDrop` | Deprecated |
154-
`mobileOverlay` | Deprecated |
153+
`dragAndDrop` | Deprecated |
154+
`mobileOverlay` | Deprecated |
155155
`private` | Modified | Renamed to `privateMode`.
156156
`styles` | Same API | Now requires a feature flag to use.
157157

@@ -311,6 +311,10 @@ When `true`, this will prevent the bot from loading until the `adaEmbed.start(..
311311

312312
Specifies where to mount the `<iframe>` if the default side drawer is not desired. Accepts the `HTMLElement` or element `id` of the desired parent element.
313313

314+
<aside class="warning">
315+
Chat will render immediately inside the `parentElement` provided. It means that the conversation would also get initialized. We do not recommend initializing Embed2 with `parentElement` setting automatically on every page, since it could lead to low engagement rates.
316+
</aside>
317+
314318
#### preload
315319
`preload?: boolean;`
316320

0 commit comments

Comments
 (0)