Custom widget with URL sync

Hi guys,

I am working on a project where an existing developer has created a custom widget for instantsearch.js. Now we want to use the urlSync feature, it handles all our standard widgets fine but the URL doesn’t change at all for the custom widget.

Is their an example somewhere on how you manipulate the URL for a custom widget?

Thanks