salix/modules/route/front/index/index.js

15 lines
339 B
JavaScript
Raw Normal View History

2019-03-21 12:46:14 +00:00
import ngModule from '../module';
2020-03-17 14:24:55 +00:00
import Section from 'salix/components/section';
2019-03-21 12:46:14 +00:00
2020-03-17 14:24:55 +00:00
export default class Controller extends Section {
preview(route) {
2019-03-21 12:46:14 +00:00
this.routeSelected = route;
2019-03-22 10:10:23 +00:00
this.$.summary.show();
2019-03-21 12:46:14 +00:00
}
}
ngModule.vnComponent('vnRouteIndex', {
2019-03-21 12:46:14 +00:00
template: require('./index.html'),
controller: Controller
});