Popover for non Kendo Dom element

4 posts, 1 answers
  1. Anthony
    Anthony avatar
    122 posts
    Member since:
    Jun 2013

    Posted 23 May 2014 Link to this post

    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
  2. Answer
    Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 27 May 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Anthony
    Anthony avatar
    122 posts
    Member since:
    Jun 2013

    Posted 27 May 2014 in reply to Kiril Nikolov Link to this post

    Yep, that was exactly what I was after, thanks

    One quick newbie question, in that example, is that the default  styling?
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 27 May 2014 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready