OptionalautoOptionalcardThe filter on card click event. Use setting from manager is unset.
Optionalcenterindicate if the line should be centered (default yes)
OptionalcounterShow a card counter on the stock. Not visible if unset.
OptionaldirectionIndicate the line direction (default row)
OptionalgapCSS to set the gap between cards. '8px' if unset.
OptionallastThe style to apply to the last played card. Default to class 'bga-cards_last-played-card'.
OptionalmapHow to place the card on a slot automatically
How to place the card on a slot automatically
OptionalmaxXDefine the maxX for the grid. Useful if the grid is of a fixed size.
OptionalmaxYDefine the maxY for the grid. Useful if the grid is of a fixed size.
OptionalminXDefine the minX for the grid. Useful if the grid is of a fixed size.
OptionalminYDefine the minY for the grid. Useful if the grid is of a fixed size.
OptionalselectableThe style to apply to selectable cards. Use style from manager is unset.
OptionalselectableThe style to apply to selectable slots. Use class from manager is unset.
OptionalselectedThe style to apply to selected cards. Use style from manager is unset.
OptionalselectedThe style to apply to selected slots. Use class from manager is unset.
OptionalslotThe classes to apply to each slot
The ids for the slots (can be number or string)
OptionalsortIndicate the card sorting (unset means no sorting, new cards will be added at the end).
For example, use sort: sortFunction('type', '-type_arg') to sort by type then type_arg (in reversed order if prefixed with -).
Be sure you typed the values correctly! Else '11' will be before '2'.
OptionalunselectableThe style to apply to selectable cards. Use style from manager is unset.
OptionalunselectableThe style to apply to unselectable slots. Use class from manager is unset.
OptionalwrapIndicate if the line should wrap when needed (default wrap)
Say if a given card should be placed on this stock, based on card properties. For example, every card with location === 'hand' and location_arg == this.player_id should go to the current player hand. If unset, all cards on this stock must be added manually on this stock.