VitalyP
VitalyP

Reputation: 1867

How to create "dual" Spine.js application?

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

Upvotes: 0

Views: 134

Answers (1)

lucapette
lucapette

Reputation: 20724

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.

Upvotes: 1

Related Questions