jQWidgets Forums

jQuery UI Widgets Forums Angular jqxKnob Issues

This topic contains 6 replies, has 2 voices, and was last updated by  Todor 5 years, 11 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • jqxKnob Issues #106429

    DrinkDrP
    Participant

    I’ve ran into two problems today when playing around with this component. I’ve got a page that has 3 different knobs on it, due to dynamically changing settings I couldn’t get to work, and attaching a ngIf to the component or wrapping the component in a div and adding ngIf, the knob’s performance drops dramatically.

    Also, having a knob with two values, how do you use the .val() function to set both of them?

    jqxKnob Issues #106438

    Todor
    Participant

    Hello DrinkDrP,

    Please, share a stackblitz.com example with your code which demonstrates the issues then we would be able to properly investigate it.

    Best Regards,
    Todor

    jQWidgets Team
    https://www.jqwidgets.com

    jqxKnob Issues #106453

    DrinkDrP
    Participant

    Here’s a stackblitz.com that doesn’t work. Not sure why it cant find the dependencies needed, but the code that i’m using to test the knob is all there.

    https://stackblitz.com/edit/angular-3m2is6

    jqxKnob Issues #106458

    Todor
    Participant

    Hello DrinkDrP,

    I’ve updated your example and now you could change the ‘auto’ knob with the buttons.

    Let us know if you need further assistance.

    Best Regards,
    Todor

    jQWidgets Team
    https://www.jqwidgets.com

    jqxKnob Issues #106463

    DrinkDrP
    Participant

    Thanks for the help on that, but what about the slowdown on the component? Stackblitz doesnt do it but that might be due to it being barebones demo. When I have it in a full app with backgrounds it slows like crazy on the heat and cool knobs, just not the auto knob which made very little sense to me.

    jqxKnob Issues #106464

    DrinkDrP
    Participant

    To see this, go to this website with chrome in dev mode and set it to a phone device. http://www.jaylia.net/crestron/ui/ and click on climate. They sometimes work and other times not while the console is getting spammed with ‘[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080‘ everytime I try to click and drag the value change.

    jqxKnob Issues #106471

    Todor
    Participant

    Hello DrinkDrP,

    I would like to suggest you instead of using 3 separate knobs you could use one and change it’s settings when it is necessary. I hope this would fix the slowdown issue.

    Best Regards,
    Todor

    jQWidgets Team
    https://www.jqwidgets.com

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.