Skip to content

Using existing objects as van state objects #263

Answered by Tao-VanJS
kosirm asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kosirm,

Thanks for reaching out!

For your purpose, you might want to take a look at VanX (the official VanJS extension), which has the functionality of adding reactivity to existing JavaScript classes. To bind arrays to DOM nodes, you can take a look at vanX.list.

Hope it helps :-)

Replies: 6 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@kosirm
Comment options

Answer selected by Tao-VanJS
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Tao-VanJS
Comment options

@kosirm
Comment options

Comment options

You must be logged in to vote
2 replies
@Tao-VanJS
Comment options

@kosirm
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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