mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-05-26 22:06:41 -06:00
17 lines
330 B
JavaScript
17 lines
330 B
JavaScript
|
|
Template.ionListButton.helpers({
|
|
classes: function(){
|
|
|
|
var classes = [];
|
|
|
|
var action = this.action || 'delete';
|
|
var side = this.side || 'left';
|
|
classes.push('item-' + action);
|
|
classes.push('item-' + side + '-edit');
|
|
|
|
classes.push('enable-pointer-events');
|
|
|
|
return classes.join(' ');
|
|
|
|
}
|
|
})
|