Posted On: Feb 22, 2018
The Backbone.Marionette.Application object is used to initialize among other things the various pieces of your application. The Initialize is called immediately after the application has been instantiated. It is invoked with the same arguments that the constructor received.
Example
var MyApp = Marionette.Application.extend({ initialize: function(options) { console.log(options.container); } }); var myApp = new MyApp({container: '#app'});
Never Miss an Articles from us.
Marionette.js is a composite application library for the Backbone.js. It simplifies the construction of the large-scale JavaScript applications. It is nothing but a collection of the common design and...
Features of Marionette.jsIt is scalable as the applications built-in modules with event-driven architecture. It is easily modifiable. It works with the specific need of your application. It has ...
v4.1.2 is the current stable version of MarionetteJS....