unbind
can.Map.prototype.unbind
Unbind event handlers from a Map.
map.unbind(eventType[, handler])
Parameters
-
eventType
{String}the type of event to unbind, exactly as passed to
bind -
handler
{function()}Optionalthe handler to unbind
unbindunbinds event handlers previously bound with bind. If no handler is passed, all handlers for the given event type will be unbound.