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

Passing Array of numbers via @Input

$
0
0

@anna_liebt wrote:

Hello,
I want pass from html an array of numbers via @Input something like that

<mycomp myarray='[0, 1, 2, 3]'></mycomp>

How to do that, that I get in .ts file an array of numbers?

Thanks in advance and best regards anna-liebt.

By the way is there a doc where all things around @Input() is descriped.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70432

Trending Articles



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