Browse Source

Pull request #2401: 无JIRA任务 动画

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '6a5eb210668fd89c03d5a5c54cef4e30a96be3e8':
  动画
es6
guy 3 years ago
parent
commit
96b6f1a0c4
  1. 2
      src/case/combo/bubblecombo/combo.bubble.js
  2. 24
      src/less/motion.less

2
src/case/combo/bubblecombo/combo.bubble.js

@ -56,7 +56,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, {
popup: BI.extend({
type: "bi.bubble_popup_view",
animation: "bi-zoom-big",
animationDuring: 300,
animationDuring: 200,
}, o.popup)
});
this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () {

24
src/less/motion.less

@ -52,27 +52,3 @@
pointer-events: none;
}
}
.zoom-big-motion-enter() {
transform: scale(0);
opacity: 0;
animation-timing-function: @ease-out-circ;
.motion-common(@animation-duration-base);
animation-play-state: paused;
}
.zoom-big-motion-enter-active() {
animation-name: biZoomBigIn;
animation-play-state: running;
}
.zoom-big-motion-leave() {
animation-timing-function: @ease-in-out-circ;
.motion-common-leave(@animation-duration-base);
}
.zoom-big-motion-leave-active() {
animation-name: biZoomBigOut;
animation-play-state: running;
pointer-events: none;
}

Loading…
Cancel
Save