Skip to content

@serenity-is/corelib / RemoteViewAjaxCallback

Type Alias: RemoteViewAjaxCallback()<TItem>

RemoteViewAjaxCallback<TItem> = (view, options) => boolean | void

Defined in: src/slick/iremoteview.ts:327

Callback function for AJAX calls made by the view

Type Parameters

TItem

TItem

Parameters

view

IRemoteView<TItem>

The RemoteView instance

options

ServiceOptions<ListResponse<TItem>>

The service options for the AJAX call

Returns

boolean | void

true to continue, false to cancel