Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philipusis/cdd9ed4caeb7891db8ba1c9f668bc0bc to your computer and use it in GitHub Desktop.
Save philipusis/cdd9ed4caeb7891db8ba1c9f668bc0bc to your computer and use it in GitHub Desktop.
modules.define('userpick', ['i-bem__dom'], function(provide, BEMDOM) {
provide(BEMDOM.decl(this.name,
{
onSetMod: {
'js': {
'inited': function() {
this.bindTo('click', function(e) {
e.preventDefault();
console.log('click');
});
}
}
}
})
);
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment