Context menu with Angular.js

4 posts, 2 answers
  1. Gary
    Gary avatar
    9 posts
    Member since:
    Feb 2013

    Posted 27 Jan 2015 Link to this post

    Hi,

    I have an application in angular.js and we're using kendo ui.  In my page (html) I have an image inside a div and I want to have a context menu associated to this image.  But I don't want the context-menu to open on the left click.  My goal is to have this menu open when the user click this image, I added the context-menu inside my page but I cannot find it inside the scope to call the open method.

    Someone have an example how to achieves this ?

    Thanks
  2. Answer
    Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 29 Jan 2015 Link to this post

    Hello Gary,

    You can just change the openOn property. Otherwise you can get a reference of the widget by its name. Here is an example:

    http://dojo.telerik.com/@Kiril/UFEWa

    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. Gary
    Gary avatar
    9 posts
    Member since:
    Feb 2013

    Posted 29 Jan 2015 in reply to Kiril Nikolov Link to this post

    Perfect, thanks
  5. Answer
    Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 30 Jan 2015 Link to this post

    Hello Gary,

     

    Glad I helped.

     

    In case you have any further questions, please do not hesitate to ask.

     

    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