@vaadin/down-up-mixin

This package provides DownUpMixin that does the following:

Usage no npm install needed!

<script type="module">
  import vaadinDownUpMixin from 'https://cdn.skypack.dev/@vaadin/down-up-mixin';
</script>

README

@vaadin/down-up-mixin

This package provides DownUpMixin that does the following:

  1. Listen to mouse and touch events on given element (host by default)

  2. Call _onDown and _onUp methods when corresponding event is fired