|
|
|
@ -221,10 +221,8 @@ export default class ElementWrapper extends Wrapper {
|
|
|
|
|
|
|
|
|
|
|
|
this.event_handlers = this.node.handlers.map(event_handler => new EventHandler(event_handler, this));
|
|
|
|
this.event_handlers = this.node.handlers.map(event_handler => new EventHandler(event_handler, this));
|
|
|
|
|
|
|
|
|
|
|
|
if (node.intro || node.outro) {
|
|
|
|
|
|
|
|
if (node.intro) block.add_intro(node.intro.is_local);
|
|
|
|
if (node.intro) block.add_intro(node.intro.is_local);
|
|
|
|
if (node.outro) block.add_outro(node.outro.is_local);
|
|
|
|
if (node.outro) block.add_outro(node.outro.is_local);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (node.animation) {
|
|
|
|
if (node.animation) {
|
|
|
|
block.add_animation();
|
|
|
|
block.add_animation();
|
|
|
|
@ -326,8 +324,7 @@ export default class ElementWrapper extends Wrapper {
|
|
|
|
${this.var}.p(#ctx, #dirty);
|
|
|
|
${this.var}.p(#ctx, #dirty);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if (${previous_tag}) {
|
|
|
|
} else if (${previous_tag}) {
|
|
|
|
${
|
|
|
|
${has_transitions
|
|
|
|
has_transitions
|
|
|
|
|
|
|
|
? b`
|
|
|
|
? b`
|
|
|
|
@group_outros();
|
|
|
|
@group_outros();
|
|
|
|
@transition_out(${this.var}, 1, 1, () => {
|
|
|
|
@transition_out(${this.var}, 1, 1, () => {
|
|
|
|
|