Git Product home page Git Product logo

vue-interact's Introduction

vue-interact

A VueJS implementation of InteractJS

Netlify Status

📖 Checkout the documentation

Build Setup

npm install vue-interact --save
# or
yarn add vue-interact

Back-To-Work Plan

  • Contribuition directives
  • Separate properly InteractPanel
  • Directive
  • Documentation
  • Change building process
  • CI Process

Any contribuition is welcome âŦ†ī¸

Šī¸ License

MIT

vue-interact's People

Contributors

cholling avatar darrelfrancis avatar dependabot[bot] avatar dev7ch avatar kimuraz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vue-interact's Issues

Minimal example

Is there some minimal example on how to use the provided components?

Avoid fail silently in behavior oriented components

The lines below allow for fail silently on components that require user action, this is problematic as it has no indication on why it failed for the user, neither for the developer (when passing a NaN for example). Perhaps a better approach would be to launch an indicative exception but to keep the state consistent.

x = parseFloat(x) || 0;

y = parseFloat(y) || 0;

let x = parseFloat(target.getAttribute('data-x')) || 0;

let y = parseFloat(target.getAttribute('data-y')) || 0;

const x = (parseFloat(target.getAttribute('data-x')) || 0) + evt.dx;

const y = (parseFloat(target.getAttribute('data-y')) || 0) + evt.dy;

Resize from any corner

For some reason, when you push any of the left corners it stills grows from the right corner.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.