API Reference > ui-framework > Dialog > ModalDialogChangedEvent ModalDialogChangedEvent Class Modal Dialog Changed Event class. Extends DialogChangedEvent Methods Name Description constructor(): ModalDialogChangedEvent Inherited methods Name Inherited from Description addListener(listener: (args: DialogChangedEventArgs) => void, scope?: any): () => void DialogChangedEvent Registers a Listener to be executed whenever this event is raised. addOnce(listener: (args: DialogChangedEventArgs) => void, scope?: any): () => void DialogChangedEvent Registers a callback function to be executed only once when the event is raised. clear(): void DialogChangedEvent Clear all Listeners from this BeEvent. emit(args: DialogChangedEventArgs): void DialogChangedEvent Raises event with single strongly typed argument. has(listener: (args: DialogChangedEventArgs) => void, scope?: any): boolean DialogChangedEvent Determine whether this BeEvent has a specified listener registered. raiseEvent(...args: [args]): void DialogChangedEvent Raises the event by calling each registered listener with the supplied arguments. removeListener(listener: (args: DialogChangedEventArgs) => void, scope?: any): boolean DialogChangedEvent Un-register a previously registered listener. Inherited properties Name Type Inherited from Description numberOfListeners Accessor ReadOnly number DialogChangedEvent The number of listeners currently subscribed to the event. Defined in ui/framework/src/ui-framework/dialog/ModalDialogManager.tsx Line 16 Last Updated: 11 June, 2024