Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
マリオネット アプリケーションをセットアップするときは、通常、領域を Marionette.Application に追加します。セレクターを知らなくても、Marionette.Application のすべての領域を閉じる方法はありますか?
removeRegionsで定義されているメソッドを使用しRegionManagerて、すべての領域を削除します。App オブジェクト (のインスタンス) から削除するには、次をMarionette.Application使用しますApp._regionManager.removeRegions()
removeRegions
RegionManager
Marionette.Application
App._regionManager.removeRegions()