riot-js

Open full view…

Change parent II

jpeter06
Wed, 14 Dec 2016 17:21:39 GMT

This question has been asked before by Daniel but with no answer. Rewriting it: Is there a riot.js way to move a tag from one parent to another?. If I were to unmount from one and mount on another, I would loose state. Thanks and congratulations for this great library :-) Juan Pedro.

martymarty
Thu, 15 Dec 2016 01:52:37 GMT

Change your data model, that should proceed the view, or are you doing something different?

jpeter06
Thu, 15 Dec 2016 14:56:25 GMT

I am creating a display editor, where I move components from one place to another, through drag and drop.