unbind
can.Map.prototype.unbind
Unbind event handlers from an 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 [can.Map.prototype.bind|bind]. If no handler is passed, all handlers for the given event type will be unbound.