backbone.js - Marionette multiple regionTypes -


i have custom region main application allows me page transitions. works 1 style of transition, how go creating different transitions region.

can set multiple regiontypes on same region, or have pass transition type modified marionette region show function , go there. appreciated, thanks.

        app.addregions {             main: {                 selector: "#page",                 regiontype: fold             }         } 

you cannot associate multiple-types same region.
options become if knowledge of knowing way render role of region-manager or outside of it.

from statement of passing 'transition type' in, thinking responsibility of figuring out transition use not role region manager.

this question may better answered base on design.

hope help.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -