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