DEV Community

Discussion on: Building a Headroom-Style Header in Svelte

vekzdran profile image
Vedran Mandić

Lovely share and a fun teaching project. Really love seeing Svelte breaking through!

Typo maybe: We would have to this when the component, seems like it is missing a word or I am having a hard time understanding what is "this" (the usual issue in JS)?

collardeau profile image
Thomas Collardeau Author

"we would have to DO this...."

Fixed it. Thanks.

nmrshll profile image
Nicolas Marshall • Edited on

sorry: "this" is not a function