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

Popover for non Kendo Dom element

3 Answers 46 Views
PopOver (Mobile)
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 1
Anthony asked on 23 May 2014, 02:27 PM
Hi
  I have some text with an ellipsis, I need a tooltip, I think the popover is possibly a good fit for that.

It seems that to get a popup you need some clickable element, can you attach a popup to some random Dom element?

e.g. a popover to the below without changing the styling

<span>Some text that's too lon.....</span>

If not can you use the Tooltip control on Mobile?

thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Kiril Nikolov
Telerik team
answered on 27 May 2014, 07:46 AM
Hi Anthony,

You can open the Kendo UI Mobile PopOver for non anchor elements. I have created an example showing how to open a popover from a span element. Please check it out and let me know if it helps:

http://jsbin.com/dobes/1/edit

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
Anthony
Top achievements
Rank 1
answered on 27 May 2014, 08:59 AM
Yep, that was exactly what I was after, thanks

One quick newbie question, in that example, is that the default  styling?
0
Kiril Nikolov
Telerik team
answered on 27 May 2014, 11:08 AM
Hello Anthony,

Yes, this is the default styling of the iOS theme with Kendo UI Mobile.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
PopOver (Mobile)
Asked by
Anthony
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Anthony
Top achievements
Rank 1
Share this question
or