Results 1 to 3 of 3

Thread: EXTJS 5 Slider and Thumb

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2015
    Posts
    15

    Default EXTJS 5 Slider and Thumb

    I made a custom slider component and I am trying to customize the slider for my purposes. I would like functionality such as addListener(), removeCls(), and visible(false). I would like to change the css and perform actions after render. I see in the sencha docs that none of these methods are available to Thumb, and my own attempts failed likewise. However, I found the below example where a person was successful with addListener in Sencha Touch. Surely this functionality is available for Ext JS web?

    Docs: http://docs-origin.sencha.com/extjs/5.0.1/#!/api/Ext.slider.Thumb-method-render

    E
    xample: https://www.sencha.com/forum/showthr...r-Slider-Thumb

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Ext.slider.Thumb is private. Can you run addListener on the slider?
    http://docs-origin.sencha.com/extjs/...od-addListener

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2015
    Posts
    15

    Default

    Hi Gary,

    I wasn't very clear: I would like addListener(), removeCls() for the Thumb that is generated on the slider. My goal is to have the Thumb on the slider be an image.

Similar Threads

  1. Slider Thumb
    By dwong in forum Sencha Touch 2.x: Discussion
    Replies: 1
    Last Post: 11 Feb 2013, 9:04 AM
  2. [NOREPRO] Ext.slider.Slider - can't drag after long tap on thumb
    By Joey Che in forum Sencha Touch 2.x: Bugs
    Replies: 5
    Last Post: 12 Apr 2012, 10:54 PM
  3. How to customize slider's thumb
    By Podlipensky in forum Sencha Touch 2.x: Discussion
    Replies: 4
    Last Post: 14 Mar 2012, 1:08 PM
  4. Slider thumb not syncing
    By darshanags in forum Ext 2.x: Help & Discussion
    Replies: 11
    Last Post: 6 Dec 2011, 6:33 AM
  5. Using image for Slider Thumb?
    By MahlerFreak in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 1 Jun 2011, 8:22 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •