elementor / elementor/elementor
How are basic js hooks working?
- Dominant language
- PHP
- Stars
- 7.1k
- Forks
- 1.6k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 193
Description
Since the "pro support" doesn't answer me I try my luck here. Currently I am using jQuery document ready event to do js stuff in the editor but it's limited..
The problem is that I can't get the hooks from the developer documentation, from here or other pages to tun.
I have a widget which includes a js file. The file is empty but when I use this code nothing is logged
```
$(window).on('elementor/frontend/init', function () {
console.log('foobar');
});
```
The topics here with same approaches are 6 months old. I can find these hooks in the plugin core but why arn't they working for me? Do I need to add more? Am I missing something?
Contributor guide
Assessment
This issue has not been assessed yet.