javascript - When Does Marrionette ItemView onClose method get called? -



javascript - When Does Marrionette ItemView onClose method get called? -

i trying utilize onclose event clean view before removing it; although, reason never gets called. i've tried calling region.empty, region.reset, showing new view in part , destroying part , method doesn't seem called. there specific time event raised?

thanks in advance.

from version 2.0 current version v2.2.0 of marionette itemview's onclose methods have changed name ondestroy.

there lot of other changes , enhancements. please check documentation.

javascript backbone.js marionette

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -