Hi,
how can I call an export function ?
Within the function $w.onReady(function() , I would like to call the function export function table1_click(event, $w)
Any suggestions?
Thanks
Claudio
Hi,
how can I call an export function ?
Within the function $w.onReady(function() , I would like to call the function export function table1_click(event, $w)
Any suggestions?
Thanks
Claudio
Hey Claudio,
If you want to use exported function you must first import it
import { table1_click } from 'public/myscript.js'
You can only import script if it’s exported in public or backend files
You can find more about it in one of WixCode articles Velo: JavaScript Support | Help Center | Wix.com