2015-07-08 16:45:13 -04:00
|
|
|
export default Ember.Component.extend({
|
|
|
|
classNameBindings: [':schema-table', 'open'],
|
2015-07-08 19:46:36 -04:00
|
|
|
tagName: 'li',
|
2015-07-08 16:45:13 -04:00
|
|
|
|
|
|
|
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')
|
|
|
|
});
|