Skip to main content
Nintex Community Menu Bar
Question

Unsubscribe an event using javascript

  • July 11, 2024
  • 3 replies
  • 14 views

Forum|alt.badge.img+6

How would I unsubscribe to an skuid event from javascript. Any help would be much appreciated.

Thanks.

This topic has been closed for replies.

3 replies

Forum|alt.badge.img+18

Forum|alt.badge.img+13

Looks like the docs on the skuid.events.unsubscribe() method are incomplete — we’ll get that fixed.

Every call to skuid.events.subscribe() returns a subscription/handle which can be used to unsubscribe in the future, e.g.

var subscription = skuid.events.subscribe("models.loaded", function() { ... });<br>skuid.events.unsubscribe(subscription);

Forum|alt.badge.img+6
  • Author
  • July 11, 2024

Thanks Zach! This is  helpful.