Giter Site home page Giter Site logo

vue-knob-control's People

Contributors

da-kon avatar kl3sk avatar kramer99 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vue-knob-control's Issues

Usage Error

In the Usage section, change VueKnobControl to KnobControl.

import Vue from 'vue'
import VueKnobControl from 'vue-knob-control'

Vue.use(VueKnobControl)

:min and :max cause primary color offset during initial render

When using :min and :max, when the page first loads up, the curving band of primary color appear displaced from the main color wheel. When the wheel is clicked to choose a value, it resets and everything appears to work normally.

Great plugin, this is needed! Thanks!

How to use knob in Vue3?

I am a newer, have not find the way to use it in Vue3.

I import it as a component, and get a error " Cannot read properties of undefined (reading 'getTotalLength')".

How to fix it, thank you!

No Mobile Support

It looks like only mouse events are being listened to, would you have any recommendations on how I may be able to listen for touch events in order to support mobile?

I tried changing the @click, @mousedown, @mouseup events to the touch event equivalents, but the "offsetX" and "offsetY" properties aren't available on TouchEvents so the updatePosition calculation breaks.

Not responsive

This component is not responsive. Its size is forced in px and size is expected as Number.

Any option for that in progress ?

Positionning is taken from target event element.

Hey guys, I think I understand one of the reason why the numbers were sometimes behaving a little chaotic.

When your mouse is moving outside the element of concern it was using the offset position within this dom element.

I am using the mouse position from the client position now so the target won't matter and using the getBoundClientRect to get the center of the knob.

It works pretty well on my fork.

Do you want me to issue PR?

mousedown event not working

Hi,
Is it possible to get status if the slider is being moved. When I use @click.native="mousedown" in parameters, I get the following error:

"Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted."

Or, isn't there any onChange event?

I'm trying to interlink 4 knobs, and so, if one knob is slided, I needed to set an active flag to it and remove active flags on all other knobs.

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.