Touch Effekt for Elements

4 posts, 0 answers
  1. Thomas
    Thomas avatar
    21 posts
    Member since:
    Oct 2011

    Posted 29 Feb 2012 Link to this post

    What css-Class is needed to set the "touch"-effekt of an element?

    e.g. the listview-Item.

    This code does not work:
    #termin-listview li, #sk-listview li
    {
        background:-moz-linear-gradient(top, #2468A5, #17436A); /* Firefox */
        background : -webkit-gradient(linear, left top, left bottom, from(#2468A5), to(#17436A)); /* Safari, Chrome */
     
    }
     
    #termin-listview li:active, #sk-listview li:active
    {
        background:-moz-linear-gradient(top, #ef652a, #ef652a); /* Firefox */
        background : -webkit-gradient(linear, left top, left bottom, from(#ef652a), to(#ef652a)); /* Safari, Chrome */
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 29 Feb 2012 Link to this post

    Hi,

    The listview will support a separate CSS class for active state in the next mobile beta, due this week.
     
    Regards,
    Petyo
    the Telerik team
    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. Thomas
    Thomas avatar
    21 posts
    Member since:
    Oct 2011

    Posted 29 Feb 2012 Link to this post

    Sounds great!

    Do you already know when this week you will release the next beta?
    And do you already know how to use the touch-effect?
    Just like 

    ".km-android .km-list .album-set-active"

    or something this way?

    Greetings -

    Tom
  5. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 29 Feb 2012 Link to this post

    Hi,

    Please checkout this demo from the new beta for more details and the exact CSS class:

    http://demos.kendoui.com/beta/mobile/listview/index.html 

    Greetings,
    Petyo
    the Telerik team
    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