Making statements based on opinion; back them up with references or personal experience. For more details, see Migrate Access Controls in the Lightning Web Components Developer Guide. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Yes, you're right Rob, I've updated my answer to include a page id (a simple index) that acts as a key for the first level iteration. There are multiple options. For example, to find out events fired on the browser window or the current document see the events sections in Window and Document. Making statements based on opinion; back them up with references or personal experience. Or else if you are using addEventListener in parent component javascript, you need to use event name as is. Asking for help, clarification, or responding to other answers. Sharing event handlers is fairly rare. ', SCOPED_SLOTDATA_CANNOT_BE_COMBINED_WITH_OTHER_DIRECTIVE, 'lwc:slot-data directive cannot be combined with other directives on the same