Skip to content

Instantly share code, notes, and snippets.

@vadimdemedes
Last active December 15, 2015 20:40
Show Gist options
  • Save vadimdemedes/5319758 to your computer and use it in GitHub Desktop.
Save vadimdemedes/5319758 to your computer and use it in GitHub Desktop.
var view = new MyView({ container: 'div.some-container' });
view.on('render', function(){
view.bindings.coolButton.addClass('active');
view.bindings.pageContainer.css('display', 'block');
});
view.render();
view.updateBindings(); // update bindings manually
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment