transition.js 931 B

123456789101112131415161718
  1. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  2. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  3. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  4. else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
  5. return c > 3 && r && Object.defineProperty(target, key, r), r;
  6. };
  7. import { SuperComponent, wxComponent } from '../common/src/index';
  8. import transition from '../mixins/transition';
  9. let Transition = class Transition extends SuperComponent {
  10. constructor() {
  11. super(...arguments);
  12. this.behaviors = [transition()];
  13. }
  14. };
  15. Transition = __decorate([
  16. wxComponent()
  17. ], Transition);
  18. export default Transition;