Skip to content

Commit

Permalink
Merge pull request #310 from tf/append-subview
Browse files Browse the repository at this point in the history
Add appendSubview Method
  • Loading branch information
tf committed Jun 23, 2015
2 parents e14cdc8 + 67de934 commit a4520f2
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -5,6 +5,10 @@ pageflow.subviewContainer = {
return view;
},

appendSubview: function(view) {
return this.$el.append(this.subview(view).el);
},

onClose: function() {
if (this.subviews) {
this.subviews.call('close');
Expand Down

0 comments on commit a4520f2

Please sign in to comment.