Hi everybody !
I am trying to find the good the best solution to display a stack of cards, with the following design:
-Each card vertically overlaps on the card at its bottom (at a given X% percentage), so they compose splayed-up stack.
-I would like to have the possibility to dynamically remove either the top card, or the bottom one.
I found that the stock component would ideally fullfil my purpose, since it enables to manipulates card ids, which are known. However, I did not manage to control how the cards overlaps (I did not find the way to "force" cards not to display horizontally, even with the setOverlap method, and the vertical overlap is only effective on every two cards).
With the Zone component I woud be able to fix this, but then I lose the id system which is very convenient, and I have to deal with the CSS-sprite myself, which can lead to a CSS-code pretty ugly .
From your experience, which component would you use for this ? (or maybe something else, that I would have certainly missed )
Tcheby
I am trying to find the good the best solution to display a stack of cards, with the following design:
-Each card vertically overlaps on the card at its bottom (at a given X% percentage), so they compose splayed-up stack.
-I would like to have the possibility to dynamically remove either the top card, or the bottom one.
I found that the stock component would ideally fullfil my purpose, since it enables to manipulates card ids, which are known. However, I did not manage to control how the cards overlaps (I did not find the way to "force" cards not to display horizontally, even with the setOverlap method, and the vertical overlap is only effective on every two cards).
With the Zone component I woud be able to fix this, but then I lose the id system which is very convenient, and I have to deal with the CSS-sprite myself, which can lead to a CSS-code pretty ugly .
From your experience, which component would you use for this ? (or maybe something else, that I would have certainly missed )
Tcheby