]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/plugins/client-hook.model.ts
Add setting helper to client plugins
[github/Chocobozzz/PeerTube.git] / shared / models / plugins / client-hook.model.ts
index 87e8092c0734f82ebb15dbf51c8d9a83be8e2416..cfa2653c6ea5fd63c294b7bd254b47a50b6f4cdc 100644 (file)
@@ -49,7 +49,10 @@ export const clientActionHookObject = {
   'action:video-watch.video.loaded': true,
 
   // Fired when the search page is being initialized
-  'action:search.init': true
+  'action:search.init': true,
+
+  // Fired every time Angular URL changes
+  'action:router.navigation-end': true
 }
 
 export type ClientActionHookName = keyof typeof clientActionHookObject