ListItem


  • Onsen UI

    Component that represents each item in the list. Must be put inside the List component. The list item is composed of three parts that are represented with the left, center and right classes. These classes can be used to ensure that the content of the list items is properly aligned.

    Click here to see the original article



  • Hello! There is a modifier for the active ListItem?


  • Onsen UI

    @boomfly What do you mean with the “active” listItem? If you want an effect when an item is clicked you can use tappable.



  • Can I use onClick attribute?

    I’ve used it in my project and it works. But it’s not mentions in the Props table above.


  • Onsen UI

    @samphan that’s because onClick is a regular attribute for DOM elements, not a specific prop for ListItem, naturally you can use it in the regular way :+1:


Log in to reply