0.1.0 • Published 4 years ago

@groupby/elements-search-plugin v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

GroupBy Elements Search Plugin

This package contains the GB Elements Search Plugin class.

Usage

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

const searchPlugin = new SearchPlugin({
  customerId: 'mycustomerid', // replace with your customer ID
  https: true,                // optional. Default: true
  // ... BrowserBridge options
});
core.register(searchPlugin);

The plugin registers an instance of the Search API client with Core.

Options

The SearchPlugin constructor takes in an options object to configure the plugin.

  • customerId: Required. This is your GroupBy customer ID.
  • https: Use HTTPS. Default: true.
  • All BrowserBridge options.