/Tap

Javascript tap events

Primary LanguageJavaScript

###Usage

tap(element, function() {
    // do stuff
})

element accepts a few things:

  • an element
  • an array of elements
  • a css selector that matches one element
  • a css selector that matches multiple elements