From 23bdacf8ec24ce47a15529830e116911d7478598 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 25 Jul 2019 19:02:54 +0200 Subject: Add setting helper to client plugins --- shared/models/plugins/client-hook.model.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shared/models/plugins/client-hook.model.ts') diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts index 87e8092c0..cfa2653c6 100644 --- a/shared/models/plugins/client-hook.model.ts +++ b/shared/models/plugins/client-hook.model.ts @@ -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 -- cgit v1.2.3