Skip to content

Change rootMargin or make it configurable #26

@schliesser

Description

@schliesser

Heyho @raphaelthanner

the IntersectionObserver has a rootMargin of 0px currently. To smoothen the image displaying of the image, I would like to raise this value to like 10% (mabye different value after more testing).

Is it worth to make this configurable somehow?
Or just change the value in the JS Code?

Other option is to copy the TS code into my own build setup and disable the Typoscript include.

Merry Xmas 🎄
André

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions