(fn)
| 266 | ); |
| 267 | }, |
| 268 | out(fn) { |
| 269 | if (!is_outro) { |
| 270 | fn?.(); |
| 271 | current_options = undefined; |
| 272 | return; |
| 273 | } |
| 274 | |
| 275 | element.inert = true; |
| 276 | |
| 277 | outro = animate( |
| 278 | element, |
| 279 | get_options(), |
| 280 | intro, |
| 281 | 0, |
| 282 | () => { |
| 283 | dispatch_event(element, 'outrostart'); |
| 284 | }, |
| 285 | () => { |
| 286 | dispatch_event(element, 'outroend'); |
| 287 | fn?.(); |
| 288 | } |
| 289 | ); |
| 290 | }, |
| 291 | stop: () => { |
| 292 | intro?.abort(); |
| 293 | outro?.abort(); |
nothing calls this directly
no test coverage detected