How to use the victory-selection-container/es.SelectionHelpers.onMouseDown function in victory-selection-container

To help you get started, we’ve selected a few victory-selection-container examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github FormidableLabs / victory-native / lib / components / victory-selection-container.js View on Github external
onTouchStart: (evt, targetProps) => {
          if (props.disable) {
            return {};
          }
          SelectionHelpers.onMouseMove.cancel();
          return SelectionHelpers.onMouseDown(evt, targetProps);
        },
        onTouchMove: (evt, targetProps) => {

victory-selection-container

Interactive Selection Component for Victory

MIT
Latest version published 13 days ago

Package Health Score

98 / 100
Full package analysis