How to create "dual" Spine.js application?

145 Views Asked by At

I would like to have two-panel filemanager like mc or total commander. Do I have to create two different controllers with same functionality?

1

There are 1 best solutions below

0
On BEST ANSWER

Probably you can just use two instances of the same controller. Something like:

new App.FileManager({el: $('#panel_left')});
new App.FileManager({el: $('#panel_right')});

Obviously, it's just a general idea.