open-nomad/ui/app/components/task-group-row.js

18 lines
432 B
JavaScript
Raw Normal View History

import Component from '@ember/component';
import { lazyClick } from '../helpers/lazy-click';
import { classNames, tagName } from '@ember-decorators/component';
import classic from 'ember-classic-decorator';
2017-09-19 14:47:10 +00:00
@classic
@tagName('tr')
@classNames('task-group-row', 'is-interactive')
export default class TaskGroupRow extends Component {
taskGroup = null;
2017-09-19 14:47:10 +00:00
onClick() {}
2017-09-19 14:47:10 +00:00
click(event) {
2019-03-26 07:46:44 +00:00
lazyClick([this.onClick, event]);
}
}