Merged in feature/LOY-415-sj-widget (pull request #3074)
feat(LOY-415): Add SJ widget * feat(LOY-415): Add SJ widget can be added as dynamic content to Content Pages * feat(LOY-415): init SJ widget with a useEffect instead due to onLoad only being called the first time * make sure to only initialize the SJ widget once and handle navigation Approved-by: Erik Tiekstra
This commit is contained in:
5
apps/scandic-web/types/window.d.ts
vendored
5
apps/scandic-web/types/window.d.ts
vendored
@@ -29,4 +29,9 @@ interface Window {
|
||||
right?: string
|
||||
}
|
||||
}
|
||||
SJ?: {
|
||||
widget?: {
|
||||
init?: (args: { micrositeId: string; language: "en" | "sv" }) => void
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user