kaisermann / svelte-loadable

Dynamically load a svelte component
MIT License
322 stars 13 forks source link

Create callback event after component loads #28

Closed ghost closed 4 years ago

ghost commented 4 years ago
kaisermann commented 4 years ago

@henriquehbr I'm willing to merge this PR, but I think on:load would be a better fit, think it as the equivalent of window.onload. Also, the docs need to be updated with the new feature.

ghost commented 4 years ago

Done!

dmgolembiowski commented 4 years ago

@henriquehbr's Thank you! This is a super useful feature.

kaisermann commented 4 years ago

Released in v1.5.0, sorry for taking so long 😁

kaisermann commented 4 years ago

Thanks @henriquehbr!