Skip to content Skip to sidebar Skip to footer

Nativescript And Listview, Item Undefined

I m trying to make some experiments with NativeScript, but I m facing some weird error, and I can't get the point. I m having a simple list of pokemons inside of my component : imp

Solution 1:

In Angular-2 the syntax for declaring a let in your HTML is the following:

let-myName="item"

in your case:

let-pokemon="item"

At first its kinda strange but it totally make sense. For full lenght example take a look here

Post a Comment for "Nativescript And Listview, Item Undefined"