Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Latest commit

 

History

History
40 lines (26 loc) · 1.29 KB

unintercept.md

File metadata and controls

40 lines (26 loc) · 1.29 KB

Observer.unintercept()

This method is used to unbind interceptors previously bound with Observer.intercept().

Syntax

// Unbind all interceptors bound to the following property name
// regardless of the handler function
Observer.unintercept(obj, type);

// Unbind the interceptor bound with the following handler function
Observer.unintercept(obj, type, originalHandler);

// Unbind the interceptor bound with the following handler function and tags
Observer.unintercept(obj, type, originalHandler, {tags:[...originalTags]});

// Unbind all interceptors bound with the following tags
// regardless of the handler function
Observer.unintercept(obj, type, null, {tags:[...originalTags]});

Parameters

Return Value

undefined

Related Methods