|
|
@ -181,12 +181,12 @@ export default class Element extends Node {
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
case 'Transition':
|
|
|
|
case 'Transition':
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const transition = new Transition(component, this, scope, node);
|
|
|
|
const transition = new Transition(component, this, scope, node);
|
|
|
|
if (node.intro) this.intro = transition;
|
|
|
|
if (node.intro) this.intro = transition;
|
|
|
|
if (node.outro) this.outro = transition;
|
|
|
|
if (node.outro) this.outro = transition;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
case 'Animation':
|
|
|
|
case 'Animation':
|
|
|
|
this.animation = new Animation(component, this, scope, node);
|
|
|
|
this.animation = new Animation(component, this, scope, node);
|
|
|
|