Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

animate.js 841 B

há 3 anos
123456789101112131415161718192021
  1. var util = {
  2. isAppearSupported: function isAppearSupported(props) {
  3. return props.transitionName && props.transitionAppear || props.animation.appear;
  4. },
  5. isEnterSupported: function isEnterSupported(props) {
  6. return props.transitionName && props.transitionEnter || props.animation.enter;
  7. },
  8. isLeaveSupported: function isLeaveSupported(props) {
  9. return props.transitionName && props.transitionLeave || props.animation.leave;
  10. },
  11. allowAppearCallback: function allowAppearCallback(props) {
  12. return props.transitionAppear || props.animation.appear;
  13. },
  14. allowEnterCallback: function allowEnterCallback(props) {
  15. return props.transitionEnter || props.animation.enter;
  16. },
  17. allowLeaveCallback: function allowLeaveCallback(props) {
  18. return props.transitionLeave || props.animation.leave;
  19. }
  20. };
  21. export default util;