Skip to main content
Version: v1.0

hmApp.setLayerY(offset)

Scroll to a particular set of coordinates in the current page

Type

(offset: number) => void

Parameters

offset

DescriptionRequiredTypeDefault
y-coordinate offsetYESnumber-

Code example

// Set the y-coordinate offset
hmApp.setLayerY(100)