Building on the Quick Start example, you can change how the card flips using the animation option. By default, the card flips horizontally, but you can change it to flip vertically using the direction attribute of the animation.
See Flipping Actions for information about other ways that you can change the animation.
Script |
Copy Code |
---|---|
<script id="scriptInit" type="text/javascript"> require(["wijmo.wijflipcard"], function () { $(document).ready(function () { $("#flipcard1").wijflipcard({ animation: { direction: "vertical" } }); }); }); </script> |