iFrame CSS Menu pass Variable to Parent

He means assigning the event in code rather than the properties panel as shown in the documentation here. In theory both approaches should work but maybe you’ll have better luck this way.

https://www.wix.com/corvid/reference/$w.HtmlComponent.html#onMessage