OptionalautoOptionalbuttonCSS to set the gap between the buttons and the card container. '0' if unset.
OptionalcardThe 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.
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'.
Setting for the left button
Setting for the right button
Optionalscrollbarindicate if the scrollbar is visible (default true)
Optionalscrollindicate the scroll (in px) when clicking the buttons
OptionalselectableThe style to apply to selectable cards. Use style from manager is unset.
OptionalselectedThe style to apply to selected cards. Use style from manager is unset.
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.
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.