2015-11-18 13:50:48 +03:00
|
|
|
export default function () {
|
|
|
|
this.transition(
|
2016-10-07 16:27:39 +03:00
|
|
|
this.hasClass('fullscreen-modal-container'),
|
|
|
|
this.toValue(true),
|
|
|
|
this.use('fade', {duration: 150}),
|
2017-05-23 19:45:25 +03:00
|
|
|
this.reverse('fade', {duration: 150})
|
2015-11-18 13:50:48 +03:00
|
|
|
);
|
2016-04-15 17:45:50 +03:00
|
|
|
|
|
|
|
this.transition(
|
|
|
|
this.hasClass('fade-transition'),
|
|
|
|
this.use('crossFade', {duration: 100})
|
|
|
|
);
|
2017-06-08 18:00:10 +03:00
|
|
|
|
|
|
|
this.transition(
|
|
|
|
this.hasClass('tour-container'),
|
|
|
|
this.toValue(true),
|
|
|
|
this.use('fade', {duration: 150}),
|
|
|
|
this.reverse('fade', {duration: 150})
|
|
|
|
);
|
|
|
|
|
|
|
|
this.transition(
|
|
|
|
this.hasClass('tour'),
|
|
|
|
this.toValue(true),
|
|
|
|
this.use('fade', {duration: 300}),
|
|
|
|
this.reverse('fade', {duration: 300})
|
|
|
|
);
|
2015-11-18 13:50:48 +03:00
|
|
|
}
|