Animation

Type Boolean or String
Available options true, false
or one of "fade-in", "slide-in" or "slide-out"
Default true / "slide-in"

Determines whether an animation is played when opening or closing an hovercard. Animation is played on the hovercard element.

Default is true and will play "slide-in" animation. false will disable animation. Animation value will be set as the value of hovercard element’s data-animation attribute. If the option is set to false, data-animation attribute will not be set.

Note that for built-in animations to work you need to include coupdoeil/hovercard corresponding stylesheet or whole style (see Style for more guidelines on animation).