Timeline for Salesforce Community: Send event from window to LWC
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 6, 2022 at 8:29 | comment | added | ziniewiczp | Ah, so you wanted to send an event from the parent's window context to the child LWC, right? I thought you meant switching context from window to class within the same LWC component. | |
Apr 5, 2022 at 18:37 | comment | added | Frelseren |
Hi, thanks for your reply. The last time I had a call with SF, there was a limitation on cross-component usage of LMS inside Communities (LEX). I completely forgot about my question, but as it turns out, you can send CustomEvents back to LWC. It works with enabled Lightning Locker Service. If you have bubbles: true you can listen for the event in child LWC.
|
|
Apr 4, 2022 at 11:21 | review | Late answers | |||
Apr 4, 2022 at 12:08 | |||||
S Apr 4, 2022 at 11:03 | review | First answers | |||
Apr 4, 2022 at 11:22 | |||||
S Apr 4, 2022 at 11:03 | history | answered | ziniewiczp | CC BY-SA 4.0 |