The scenario is: I have a I really want to extend this customization to / code>, but I can not find any way to do this. There is no reference to Actually, I want to be able to do something like this: and then Is there any way to accomplish this, lack of modification of the meriannet? Actually you can enter empty view like this: Code> this.children._views [_key (this.children._views) [0]]; In the new version, it seems that we have a way that allows to get a collectionView which is used in some places
emptyView
emptyView on
collectionView , and I
emptyView to
collectionView , out of defining it.
var noItemsView = backbone.mirinet.impleplay. ({TagName: "li", className: "no-results", Template: Handlbarskcom (noResultsTemplate),}), leftToggleListView = Backbone.Marionette.CollectionView.extend ({tagname: "ul", className: "left - Toggle-view-list ", empty view: see nightmimes, start: function () {this.emptyView.model.set (" name ":" some custom name ");}});
noItemsView should be able to render
{{name}} within your template.
emptyView .
No comments:
Post a Comment