How can I create Dynamic rows using input number

I want to create like if I enter ‘5’ in then 5 dynamic rows should be created below which is shown below .How Can I build? Thanks in advance

Would depend on what JS framework you are building your Ionic app in. The basic outline would be for the input value to be emit a change event, then the array that is used to generate the rows is refreshed. I think you might want to look Observables as a possible solution to the data binding.

Ok. I am using an ionic framework( angular). If you have any references please share. Thanks for your response.