Closed jkomoros closed 7 years ago
We'll naturally need to do this for #161
The API would be that you pass a
Then users would sub-class it to automatically provide that content well.
Some cards are "naturally" tall, while some are "naturally" wide.
There is an attribute, "tall", which means that the card's content is naturally tall. The card also has rotated attribute, which rotates 90 degrees (logically, not via transforms)
By popping out memory's memory-card.
Look at https://www.webcomponents.org/element/vpusher/game-card to see what to use.
Animations to flip. Spacers. Ideally this will be the class that does the magic layout diffing and stuff in the future.