Custom back button

2 posts, 0 answers
  1. Trent
    Trent avatar
    22 posts
    Member since:
    Dec 2011

    Posted 06 Nov 2013 Link to this post

    Hi all. I have an image on a view which i want to use as a 'back' button. Setting [data-role="backbutton"] gives me the right functionality but it crops the image up into the shape of the back button.

    I have several views linking to this view, so I can't use the href option to link to the previous view.

    Is there a way I can get the functionality of the back button without [data-role="backbutton"]?

  2. Kiril Nikolov
    Kiril Nikolov avatar
    2596 posts

    Posted 07 Nov 2013 Link to this post

    Hello Trent,

    The following two class are applied to the back button in order to make it look as you see it - km-button km-back. If you remove those classes you will be able to style the button the way you want and remove the default Kendo UI Mobile styling.

    Kiril Nikolov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top