【发布时间】:2019-07-25 13:55:10
【问题描述】:
错误是:-
错误类型错误:无法加载视图:Pager.TypeError:无法读取未定义的属性“PagerAdapter”
ERROR TypeError: TNSViewPager 不是构造函数
示例代码:-
<Pager row="0" [items]="itemList" [selectedIndex]="selectedIndexValue" cache="false" disableAnimation="true" #pager (selectedIndexChange)="onIndexChanged($event)">
<ng-template let-i="index" let-itemS="item">
<GridLayout rows="*">
<Image class="view-animation" row="0" [src]="itemS.path1">
</Image>
<Image class="view-animation" row="0" [src]="itemS.path2"></Image>
<Image class="view-animation" row="0" [src]="itemS.path3"></Image>
</GridLayout>
</ng-template>
</Pager>
【问题讨论】:
-
我的应用程序中有类似的问题。
标签: angular nativescript-angular