You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I started using this plugin, and I was missing the ability to pass params (in the shape of attributes, inner html, or whatever) to the subviewCreators function.
for example, I have a generic list view, and I want to set its items from within the markup, for example:
I don't think so.. the placeholder div should be just that, a place holder div. If you need to pass arguments to a subview creator function, store them somewhere you can get to via the view instance (i.e. the this object in the creator function).
subviewCreators : {mySubview : function(){varitems=this.items;// or hard code them, or pull them from an external sourcereturnnewSubview({items : items});
...
Hi,
I started using this plugin, and I was missing the ability to pass params (in the shape of attributes, inner html, or whatever) to the subviewCreators function.
for example, I have a generic list view, and I want to set its items from within the markup, for example:
I think that's possible if you send thisPlaceHolderDiv as a param in subviewCreator.apply() (line 80).
The text was updated successfully, but these errors were encountered: