Nutrient Web SDK

ReferenceOnBeforeUnloadCallback

Type Alias OnBeforeUnloadCallback

A synchronous callback that can prevent public unload by returning false.

Type Alias
Type Signature
type OnBeforeUnloadCallback = (instance: NutrientViewer.Instance) => boolean | void

Type Declaration

Parameters

Returns

boolean | void