Link header to viewport resizes

This commit is contained in:
squidfunk
2020-02-18 10:17:57 +01:00
parent ac7c8e20a8
commit fdff60e33d
8 changed files with 57 additions and 21 deletions

View File

@@ -165,7 +165,7 @@ export function initialize(config: unknown) {
/* Create header observable */
const header$ = useComponent("header")
.pipe(
mountHeader()
mountHeader({ viewport$ })
)
const main$ = useComponent("main")