Wishlist API
Froonze
Last Update há 5 meses
We trigger a JS event when the module script runs and also when the widget initializes and after every submit action (add or remove). So if you want to modify an object you just need to listen to the event and modify it.
These are our 3 events:
- frcp.wishlist.initialize
- frcp.wishlist.installed
- frcp.wishlist.update { data: data }
Here's an example: