https://www.wix.com/velo/reference/$w/customelement/on
This shows how to send/recieve info from custom elements.