편집

다음을 통해 공유


Event module

Important

The finance and operations (Dynamics 365) mobile app and platform are no longer supported. The platform components supporting the mobile app will be removed in a future update. The mobile app has also been removed from app stores. Previously installed instances of the app will continue to work. For more information, see Removed or deprecated platform features.

Index

Types

Type aliases

Types

EventHook

Hierarchy

EventHook

Methods

Name Signature Description
subscribe subscribe(listener: IEventListener <T>): void Subscribe a listener to this event.
unsubscribe unsubscribe(listener: IEventListener <T>): void Unsubscribe a listener from this event.
unsubscribeAll unsubscribeAll(): void Remove all listeners from this event.

Type aliases

IEventListener

IEventListener: function