Interface OmniboxInputStartedEvent

Hierarchy

  • Event
    • OmniboxInputStartedEvent

Index

Methods

Methods

public addListener(callback: Function)

Parameters

  • callback: Function

public addRules(rules: Rule[], callback?: (rules: chrome.events.Rule[]) => void)

Parameters

  • rules: Rule[]
  • callback?: (rules: chrome.events.Rule[]) => void optional

public getRules(callback: (rules: chrome.events.Rule[]) => void)

Parameters

  • callback: (rules: chrome.events.Rule[]) => void

public getRules(ruleIdentifiers: Array<string>, callback: (rules: chrome.events.Rule[]) => void)

Parameters

  • ruleIdentifiers: Array<string>
  • callback: (rules: chrome.events.Rule[]) => void

public hasListener(callback: Function)

Parameters

  • callback: Function

public hasListeners(): boolean

Returns

boolean

public removeListener(callback: Function)

Parameters

  • callback: Function

public removeRules(ruleIdentifiers?: Array<string>, callback?: Function)

Parameters

  • ruleIdentifiers?: Array<string> optional
  • callback?: Function optional