Class: Viewport

Viewport


new Viewport()

Members


element :HTMLElement

Type:
  • HTMLElement

height :Number

Type:
  • Number

options :Object

Type:
  • Object

scrollTop :Number

Type:
  • Number

scrollingElement :HTMLElement|Element

Type:
  • HTMLElement | Element

width :Number

Type:
  • Number

Methods


destroy()

Destroy the viewport.


init()

Initialize the viewport.


pause()

Pause the viewport.


resume()

Resume the viewport.


update()

Update the viewport.