This is a migrated thread and some comments may be shown as answers.

Switch custom image

2 Answers 74 Views
Switch (Mobile)
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 26 Aug 2015, 11:22 AM

Hello,

can I somehow set the custom image for a switch? I would like to have something like the 2 attached files instead of a default switch with labels.

If not possible, I would use an observable array that changes images using hidden checkboxes. Or is there a better solution?

Thanks

2 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 27 Aug 2015, 11:57 AM

Hello Patrick,

I am afraid that we do not have built-in support for adding images to the Switch component.  You can submit this as a feature request on UserVoice, so that it is considered for implementation in a future release.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
mathieu
Top achievements
Rank 1
answered on 28 Feb 2017, 03:36 PM

you don't need an image to do what you need to archieve, just a little bit of css will do the trick 

 

Tags
Switch (Mobile)
Asked by
Patrick
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
mathieu
Top achievements
Rank 1
Share this question
or