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
Describe the solution you'd like
Probably an update on LC api -> introducing new input [asyncInit] -> we can get LC component via @ViewChild(LiveChatWidgetComponent), so using liveChatWidgetComponent.reinitialize() in .ts code is not an issue, or everything via inputs is also fine
Describe alternatives you've considered
I tried to set (window as any).__lc.asyncInit = true; myself but to no avail -> it should be set after license etc. but before initialization and i have no control over it cause of the widget
Additional context
I need to hold loading of LC code before user agrees to cookies or anything else and i see no mention for asyncInit anywhere in the codebase here - maybe some update pretty please?
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
![image](https://private-user-images.githubusercontent.com/59230634/254575383-8133929b-55bf-455c-8252-f9c8fca758c0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIyNjY1MjAsIm5iZiI6MTcyMjI2NjIyMCwicGF0aCI6Ii81OTIzMDYzNC8yNTQ1NzUzODMtODEzMzkyOWItNTViZi00NTVjLTgyNTItZjljOGZjYTc1OGMwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI5VDE1MTcwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY2MDU2ZWQyYjkwYWQ5MWU2MmIzZTJiZGUyM2U1ZTQ1NGFjM2Q4OGQxYmY5MWE2NzA4ODQyYmY0NGQ2ZGJiNzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.fhHnvlI4jAqmQeLMSCuZ7ZCtUR8V0SSbKoi1zz2dfl4)
There is a lack of asyncInit option (in the ExtendedWindow type from livechat-core)
feature requested: https://developers.livechat.com/updates/load-livechat-widget-on-demand
Describe the solution you'd like
Probably an update on LC api -> introducing new input [asyncInit] -> we can get LC component via @ViewChild(LiveChatWidgetComponent), so using liveChatWidgetComponent.reinitialize() in .ts code is not an issue, or everything via inputs is also fine
Describe alternatives you've considered
I tried to set (window as any).__lc.asyncInit = true; myself but to no avail -> it should be set after license etc. but before initialization and i have no control over it cause of the widget
Additional context
I need to hold loading of LC code before user agrees to cookies or anything else and i see no mention for asyncInit anywhere in the codebase here - maybe some update pretty please?
The text was updated successfully, but these errors were encountered: