jQWidgets Forums

jQuery UI Widgets Forums General Discussions Plugins AngularJS Slider Tooltip

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Slider Tooltip #64516

    cenergistic
    Participant

    I am having a issue with the slider on angularjs if I set the tooltip = true via the jqx-toooltip I am getting an error on the console

    Error: [$compile:multidir] http://errors.angularjs.org/1.3.6/$compile/multidir?p0=jqxSlider&p1=jqxTooltip&p2=template&p3=%3Cjqx-slider" "lass%3D%22ng-pristine%20ng-untouched%20ng-valid%22%20jqx-max%3D%22238%22%20jqx-min%3D%2230%22%20jqx-ticks-frequency%3D%2210%22%20jqx-height%3D%2260%22%20jqx-width%3D%22'100%25'%22%20jqx-tooltip%3D%22true%22%20data-ng-change%3D%22vm.changeCalibration()%22%20data-ng-model%3D%22vm.meter.SensitivitySlider%22%3E

    If I set the tooltip via the setting variable it works but when I move the slider it gets tuck on the first value to the right and then I cant move it

    Here is the tooltip html

    <jqx-slider jqx-max="238" jqx-min="30" jqx-ticks-frequency="10" jqx-height="60" jqx-width="'100%'" jqx-tooltip="true" data-ng-change="vm.changeCalibration()" data-ng-model="vm.meter.SensitivitySlider"></jqx-slider>

    Slider Tooltip #64520

    Peter Stoev
    Keymaster

    Hi cenergistic,

    jqx-tooltip is a Directive. You can’t use it in that way. If you want to apply “tooltip”, use Settings object.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.