14 lines
348 B
JavaScript
14 lines
348 B
JavaScript
export default Ember.Component.extend({
|
|
classNameBindings: [':schema-table', 'open'],
|
|
tagName: 'li',
|
|
|
|
open: Em.computed.alias('table.open'),
|
|
|
|
_bindClicks: function() {
|
|
const self = this;
|
|
this.$()./*children('.schema-table-name').*/click(function() {
|
|
self.set('open', !self.get('open'));
|
|
});
|
|
}.on('didInsertElement')
|
|
});
|