15 lines
339 B
JavaScript
15 lines
339 B
JavaScript
import ngModule from '../module';
|
|
import Section from 'salix/components/section';
|
|
|
|
export default class Controller extends Section {
|
|
preview(route) {
|
|
this.routeSelected = route;
|
|
this.$.summary.show();
|
|
}
|
|
}
|
|
|
|
ngModule.vnComponent('vnRouteIndex', {
|
|
template: require('./index.html'),
|
|
controller: Controller
|
|
});
|