New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@groupby/elements-search-driver-plugin

Package Overview
Dependencies
Maintainers
11
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@groupby/elements-search-driver-plugin

This package contains the GB Elements Search Driver plugin.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
11
Created
Source

GroupBy Elements Search Driver Plugin

This package contains the GB Elements Search Driver plugin.

Prerequisites

This plugin depends on the following plugins:

  • dom_events
  • search

These plugins must be registered either before or in the same batch as this plugin.

Usage

To use the plugin, simply instantiate it and register it with Core:

const searchDriverPlugin = new SearchDriverPlugin();
core.register(searchDriverPlugin);

This plugin currently does not accept any options.

Events

This plugin listens for and dispatches a number of events. These events are defined in the @groupby/elements-events package.

Received

  • SEARCH_REQUEST: When received, a search request to the GroupBy API is made. A SEARCH_RESPONSE event is dispatched with the results.

Dispatched

  • SEARCH_RESPONSE: Dispatched when a search request has completed. Its payload is the result of the request.
  • SEARCH_ERROR: Dispatched when an error has occurred during a search request.
  • BEACON_SEARCH: Dispatched when a search is made sucessfully. Its payload contains the search results and the origin of the action that triggered the search. This is listened to by our GbTrackerPlugin and can be listened to by any other custom trackers.

FAQs

Package last updated on 20 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts