Skip to content

how to style a vanx list? #270

Closed Answered by HEAVYPOLY
HEAVYPOLY asked this question in Q&A
Discussion options

You must be logged in to vote
  return div(
    vanX.list(() => div({ class: 'pricingCards' }), items, ({ val: v }) =>
      div({ class: 'pricingCard' },
      ),
    ),
  )

Was able to figure it out through some digging in api reference. I think it would be nice to have a demo of this situation in the vanX.list examples

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Tao-VanJS
Comment options

Answer selected by Tao-VanJS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants