literalpie / angular-animate-toolkit

a toolkit of animation tricks for angular. Starting with the ability to smoothly animate a common component between multiple routes
1 stars 0 forks source link

add elements-moved event to service #8

Open literalpie opened 6 years ago

literalpie commented 6 years ago

The service should have a subject that can event emits to indicate that there was movement in the app and elements should re-register their positions.

consumers of the service should be able to subscribe to the observable, as well as trigger the event.

For example, if there is animations between the routes, the event should be triggered after the animations have stopped.