import ngModule from '../module';
import Section from 'salix/components/section';

export default class Controller extends Section {
    preview(entry) {
        this.entrySelected = entry;
        this.$.summary.show();
    }
}

ngModule.vnComponent('vnEntryIndex', {
    template: require('./index.html'),
    controller: Controller
});