Backbone.once

onceobject.once(event, callback, [context])
Just like on, but causes the bound callback to fire only once before being removed. Handy for saying "the next time that X happens, do this". When multiple events are passed in using the space separated syntax, the event will fire once for every event you passed in, not once for a combination of all events

doc_Backbone
2016-04-17 12:21:03
Comments
Leave a Comment

Please login to continue.