Event.removeRules()
Removes rules that were registered on a declarative event using events.Event.addRules().
Removes rules that were registered on a declarative event using events.Event.addRules().
Syntax
events.Event.removeRules(ruleIdentifiers, callback)
Parameters
ruleIdentifiers-
:
arrayofstring. Identifiers for the rules to remove. If no array is passed, all rules are removed. -
callback - :
function. Called with no arguments when the rules are removed.
Browser compatibility
[!NOTE] This API is based on Chromium's
chrome.eventsAPI. This documentation is derived fromevents.jsonin the Chromium code.