AlignContentToFaceOptions
Options for aligning content to a specific position in the UI.
Properties
animationDuration?
optionalanimationDuration:number
How long, in milliseconds, the animation should take to run.
doNotAnimate?
optionaldoNotAnimate:boolean
If true, don't animate while centering. Defaults to false, ie. the operation will be animated.
onComplete()?
optionalonComplete: (p) =>any
Optional function to call on operation complete.
Parameters
p
Returns
any
zoom?
optionalzoom:number
Zoom level to set during the alignment