Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IsElementInViewportOptions

Index

Properties

Properties

Optional offsetTop

offsetTop: number

An additional offset from the top of the viewport to take into consideration

Optional onlyFull

onlyFull: boolean

By default the function returns true if the element is at least partially visible inside the viewport. If you set this to true the method will only return true if the element is completely visible and does not collide with the outer bounds.

Generated using TypeDoc