how to create a grid and cells in Yew app ( using Rust programs)

Viewed 158

Yew app.

I am trying to build a grid and inside grid I would like to arrange cells in Yew app.

  1. I would like to have My grid a 4*4 array
  2. Cells size would be 5px width and height
  3. I also need to set the Cell color property based on the method I solve on the grid ?
  4. How can I create Cell from Grid ? Can i use the create method Yew provides ?

Please advise on the components structure for the same . Also how can I get the properties(color) of the cell from grid and change it

0 Answers
Related