I would like to implement UI matrix pattern, which should generate dynamically. By receiving input parameter it should decide what would be UI matrix pattern dimensions: For
In my case i wanted to make a price rating dynamic something like this
'Price Rating : $$$' or 'Price Rating : $$' without making an array to repeat this "$"
so i knew that my rating is 5 at most and this working well for me .
$
priceRating maybe from 0 to 5
hope that help