salix/modules/entry/front/index/index.js

15 lines
339 B
JavaScript
Raw Normal View History

2020-01-10 10:52:35 +00:00
import ngModule from '../module';
2020-03-17 13:43:46 +00:00
import Section from 'salix/components/section';
2020-02-18 09:33:17 +00:00
2021-01-19 11:50:11 +00:00
export default class Controller extends Section {
preview(entry) {
this.entrySelected = entry;
this.$.summary.show();
}
}
2020-01-10 10:52:35 +00:00
ngModule.vnComponent('vnEntryIndex', {
2020-01-10 10:52:35 +00:00
template: require('./index.html'),
controller: Controller
});