Hierarchy

  • Omit<NCallbacks.ISettings, "isProtected">
    • IUseOnResizeSettings

Properties

isMobileOptimizedTarget?: boolean

If true, uses an optimized target for mobile devices.

Default

true
isOnce?: boolean

If true, the callback will automatically be removed after it is called once.

name?: string

The name of the callback.

target?: keyof IViewportCallbackTypes

Viewport target.

timeout?: number

The timeout (in milliseconds) before the callback is executed. A value of undefined means no timeout.