|
|
@ -66,7 +66,7 @@ const invisible_elements = new Set(['meta', 'html', 'script', 'style']);
|
|
|
|
const valid_modifiers = new Set([
|
|
|
|
const valid_modifiers = new Set([
|
|
|
|
'preventDefault',
|
|
|
|
'preventDefault',
|
|
|
|
'stopPropagation',
|
|
|
|
'stopPropagation',
|
|
|
|
'stopImmediatePropagation'
|
|
|
|
'stopImmediatePropagation',
|
|
|
|
'capture',
|
|
|
|
'capture',
|
|
|
|
'once',
|
|
|
|
'once',
|
|
|
|
'passive',
|
|
|
|
'passive',
|
|
|
@ -204,12 +204,12 @@ export default class Element extends Node {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|