Get unlimited public & private packages + team-based management with npm Teams.Learn more »

vega-event-selector

2.0.2 • Public • Published

vega-event-selector

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

Exports the following method:

# vega.selector(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.

Install

npm i vega-event-selector

DownloadsWeekly Downloads

41,199

Version

2.0.2

License

BSD-3-Clause

Unpacked Size

15.5 kB

Total Files

8

Last publish

Collaborators

  • avatar
  • avatar