github.com/blixtra/nomad@v0.7.2-0.20171221000451-da9a1d7bb050/ui/app/components/task-group-row.js (about)

     1  import Ember from 'ember';
     2  import { lazyClick } from '../helpers/lazy-click';
     3  
     4  const { Component } = Ember;
     5  
     6  export default Component.extend({
     7    tagName: 'tr',
     8  
     9    classNames: ['task-group-row', 'is-interactive'],
    10  
    11    taskGroup: null,
    12  
    13    onClick() {},
    14  
    15    click(event) {
    16      lazyClick([this.get('onClick'), event]);
    17    },
    18  });