Muliple Modifiers in ons-list-item
-
Can I use muliple modifiers in onsen for ex I want modifier chevron and nodivider in ons-list-item
also onclick event to chevron modifier
-
@Gaurav I believe you can with just a space between them.
-
Yes,
modifier="chevron nodivider"
should work. What do you mean withonclick event to chevron modifier
? Clicking on the chevron itself? I don’t think that’s possible since the chevron is a CSS pseudo element:before
, not a real DOM element.
-
ok thanks @Fran-Diox for reply this works but not with nodivider modifier this is my codepen
-
@Gaurav That’s a bug, looks like
nodivider
is applyingborder: none
, which removes the chevron. We’ll fix it :thumbsup:
-
okk thanks
-
@Fran-Diox thanks for removing this bug it works fine now :thumbsup: