Optional autoOptional autoIndicate if the card count is automatically updated when a card is added or removed.
Optional cardIndicate the current number of cards in the deck (default 0).
Optional counterShow a card counter on the deck. Not visible if unset.
Optional fakeA generator of fake cards, to generate decks top card automatically.
Default is manager fakeCardGenerator method.
the deck id
the fake card to be generated (usually, only informations to show back side)
Optional shadowShadow direction. Default 'bottom-right'.
Optional thicknessesIndicate the thresholds to add 1px to the thickness of the pile. Default [0, 2, 5, 10, 20, 30].
Optional topIndicate the current top card.
Generated using TypeDoc
Indicate if the cards under the new top card must be removed (to forbid players to check the content of the deck with Inspect). Default true.