How to use the Marionette function from backbone

Find comprehensive JavaScript backbone.Marionette code examples handpicked from public code repositorys.

119
120
121
122
123
124
125
126
127
return Marionette.ItemView.extend({ /* do something here */ });

// bad (access Marionette from Backbone)
var Backbone = require('backbone');

return Backbone.Marionette.ItemView.extend({ /* do something here */ });
```

**[⬆ back to top](#table-of-contents)**
fork icon42
star icon156
watch icon52

75
76
77
78
79
80
81
82
83
84

var ProvisionVmTemplate = require('../tpl/provision-vm.hbs');

var TypeaheadUser = require('./typeahead-user');

var View = Backbone.Marionette.Layout.extend({
    url: 'provision',
    sidebar: 'vms',
    template: ProvisionVmTemplate,
    regions: {
fork icon26
star icon0
watch icon1

+ 17 other calls in file