[]
        
(Showing Draft Content)

ReportViewer.EventFan

Class: EventFan<TArgs>

ReportViewer.EventFan

Event

Type parameters

Name Description
TArgs event argument type

Table of contents

Methods

Methods

register

register(callback): UnregisterHandler

Registers a new event handler. The handler is invoked when the cancellation is requested.

Parameters

Name Type
callback (args: TArgs) => any

Returns

UnregisterHandler

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:657


createFor

Static createFor<TArgs>(): Object

Creates a cancellation token and the trigger function.

Type parameters

Name
TArgs

Returns

Object

Name Type
event EventFan<TArgs>
trigger (e: TArgs) => void

Defined in

node_modules/@grapecity/ar-js-viewer/dist/ar-js-viewer.d.ts:649