Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

Warning in console when using ion-virtual-scroll

$
0
0

@sanz wrote:

Hi all … implemented ion-virtual-scroll as per the docs and getting the following warning in the console:

“Can’t bind to ‘virtualItemOf’ since it isn’t a known property of ‘ion-item’.”

My component HTML

<ion-list lines="full">
	<ion-virtual-scroll [items]="terms$" approxItemHeight="44px">
		<ion-item *virtualItem="let term of terms$; let i = index">
			<ion-label>{{ term.name }}</ion-label>
		</ion-item>
	</ion-virtual-scroll>
</ion-list>

Anyone noticed this or know what it means and how to fix?

Thanks :slight_smile:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>