OptionalanimationsOptionalautoFor counters. Indicate if the card count is automatically updated when a card is added or removed. Default true.
OptionalbumpThe scale bump to use in the middle of a slide animation, to fake an item grabbed from one place to the other. Default 1.2
The coordinates to place the card on.
OptionaldurationThe default animation duration, in ms (default: 500).
OptionaleasingThe CSS easing function, default 'ease-in-out'.
OptionalfadeIndicates if we add a fade in effect when adding card (if it comes from an invisible or abstract element).
OptionalfinalCard side at the end of the animation. Default to initialSide.
OptionalforceOptionalfromThe element to move the card from.
OptionalfromDetermines the behavior of the placeholder at the starting position ("from") of the animation. Default: 'shrinking'.
Options:
OptionalfromThe stock to take the card. It will automatically remove the card from the other stock.
OptionalindexForce card position. Default to end of list. Do not use if sort is defined, as it will override it.
OptionalinitialCard side at the beginning of the animation. Default 'auto' to isCardVisible. Ignored if the card already exists.
OptionalparallelAnimations to play at the same time as the main animation
OptionalpreservePreserve the scale of the object when sliding in or out.
OptionalselectableSet if the card is selectable. Default is true, but will be ignored if the stock is not selectable.
OptionalslotThe slot to place the card on.
OptionaltoDetermines the behavior of the placeholder at the ending position ("to") of the animation. Default: 'growing'.
Options:
A function returning a boolean, or a boolean, to know if animations are active.