15 lines
337 B
JavaScript
15 lines
337 B
JavaScript
import ngModule from '../module';
|
|
import Section from 'salix/components/section';
|
|
|
|
export default class Controller extends Section {
|
|
preview(order) {
|
|
this.selectedOrder = order;
|
|
this.$.summary.show();
|
|
}
|
|
}
|
|
|
|
ngModule.component('vnOrderIndex', {
|
|
template: require('./index.html'),
|
|
controller: Controller
|
|
});
|