2017-12-19 10:05:07 +00:00
|
|
|
import ngModule from '../module';
|
|
|
|
|
2017-12-19 10:24:24 +00:00
|
|
|
class ItemList {
|
2017-12-19 10:05:07 +00:00
|
|
|
constructor() {
|
|
|
|
this.model = {};
|
|
|
|
}
|
|
|
|
search(index) {
|
|
|
|
index.accept();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-19 10:24:24 +00:00
|
|
|
ngModule.component('vnItemList', {
|
|
|
|
template: require('./list.html'),
|
|
|
|
controller: ItemList
|
2017-12-19 10:05:07 +00:00
|
|
|
});
|