Socket
Book a DemoInstallSign in
Socket

@thoughtspot/plugin-brush-link

Package Overview
Dependencies
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thoughtspot/plugin-brush-link

Add Brushing and linking to your ThoughtSpot embed apps.

0.0.2
latest
npmnpm
Version published
Maintainers
6
Created
Source

npm version

Add Brushing and linking to your ThoughtSpot embed apps.

Usage

npm i @thoughtspot/plugin-brush-link
import { brushAndLink } from '@thoughtspot/plugin-brush-link';
import { init, LiveboardEmbed } from '@thoughtspot/visual-embed-sdk';

init({
  // .. initialize thoughtspot
});

const embed = new LiveboardEmbed({
  // .. embed config
  plugins: [
    brushAndLink({
      trigger: 'click', // What triggers the behaviour. Options: [click , dblclick]
      behaviour: 'highlight', // What to do when triggered. Options: [highlight, filter]
      resetPrevious: false, // Should reset the previous behaviour when a new one is triggered. Useful for 'filter'.
      onTrigger: (paylog) => void, // Callback when the user "trigger".
    })
  ]
})

FAQs

Package last updated on 01 Mar 2022

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.