diff --git a/types/rellax/index.d.ts b/types/rellax/index.d.ts index ce6921b9d5..41ffbaa631 100644 --- a/types/rellax/index.d.ts +++ b/types/rellax/index.d.ts @@ -67,7 +67,11 @@ declare namespace Rellax { /** * By default, the position of parallax elements is determined via the scroll position of the body. Passing in the wrapper property will tell Rellax to watch that element instead */ - wrapper?: string; + wrapper?: string | HTMLElement; + /** + * Do we want rellax element to be relative to the mentioned wrapper. + */ + relativeToWrapper?: boolean; } }