Skip to content

Instantly share code, notes, and snippets.



Created Feb 24, 2013
What would you like to do?
Snippet showing how the layout is created, and how we setup the regions which are nodes in the layout's template
var LayerListLayoutView = Backbone.Marionette.Layout.extend({
template: "#layer-list-template",
//define the regions using selectors for nodes
//inside the layout's template
regions: {
layerListRegion: "#layer-list",
basemapRegion: "#basemap-list"
events:{'click #layer-list-close':'closeView'},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.