Skip to content
This repository was archived by the owner on Dec 21, 2018. It is now read-only.
/ vega-event-selector Public archive

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

License

Notifications You must be signed in to change notification settings

vega/vega-event-selector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

NOTE: This package has been consolidated into the vega/vega repository, where future development and issues will be handled. This repository has been archived and is now read-only.

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.

About

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

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •