Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

animate.js 964 B

3 lat temu
123456789101112131415161718192021222324252627
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. var util = {
  6. isAppearSupported: function isAppearSupported(props) {
  7. return props.transitionName && props.transitionAppear || props.animation.appear;
  8. },
  9. isEnterSupported: function isEnterSupported(props) {
  10. return props.transitionName && props.transitionEnter || props.animation.enter;
  11. },
  12. isLeaveSupported: function isLeaveSupported(props) {
  13. return props.transitionName && props.transitionLeave || props.animation.leave;
  14. },
  15. allowAppearCallback: function allowAppearCallback(props) {
  16. return props.transitionAppear || props.animation.appear;
  17. },
  18. allowEnterCallback: function allowEnterCallback(props) {
  19. return props.transitionEnter || props.animation.enter;
  20. },
  21. allowLeaveCallback: function allowLeaveCallback(props) {
  22. return props.transitionLeave || props.animation.leave;
  23. }
  24. };
  25. exports["default"] = util;
  26. module.exports = exports['default'];