vega-event-selector
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

vega-event-selector

A CSS-inspired language to select, sequence, and compose DOM events into event streams.

Exports the following method:

# vega.parseSelector(selector[, source, marks]) <>

Takes an event selector string as input and returns a parsed event stream object definition. The optional source argument takes a string indicating the source value to use by default (normally "view"). The optional marks argument takes an object whose keys will be treated as the legal mark types, so long as the corresponding values are truthy. For more, see the Vega Event Stream documentation.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i vega-event-selector

      Weekly Downloads

      194,549

      Version

      3.0.1

      License

      BSD-3-Clause

      Unpacked Size

      28.4 kB

      Total Files

      11

      Last publish

      Collaborators

      • jheer
      • domoritz
      • arvindsatya1
      • lhermann