(fn)
| 221 | * @returns {void} |
| 222 | */ |
| 223 | export function afterUpdate(fn) { |
| 224 | if (component_context === null) { |
| 225 | e.lifecycle_outside_component('afterUpdate'); |
| 226 | } |
| 227 | |
| 228 | if (component_context.l === null) { |
| 229 | e.lifecycle_legacy_only('afterUpdate'); |
| 230 | } |
| 231 | |
| 232 | init_update_callbacks(component_context).a.push(fn); |
| 233 | } |
| 234 | |
| 235 | /** |
| 236 | * Legacy-mode: Init callbacks object for onMount/beforeUpdate/afterUpdate |
nothing calls this directly
no test coverage detected