19 lines
409 B
JavaScript
19 lines
409 B
JavaScript
|
import ngModule from '../module';
|
||
|
|
||
|
class Controller {
|
||
|
constructor() {
|
||
|
this.moreOptions = [
|
||
|
{callback: this.showAddTurnDialog, name: 'Settings'},
|
||
|
{callback: this.showDeleteTicketDialog, name: 'Delete'}
|
||
|
];
|
||
|
}
|
||
|
}
|
||
|
|
||
|
ngModule.component('vnZoneDescriptor', {
|
||
|
template: require('./index.html'),
|
||
|
controller: Controller,
|
||
|
bindings: {
|
||
|
zone: '<'
|
||
|
}
|
||
|
});
|