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