File

src/ui/form/floating-windows-registry.service.ts

Index

Properties
Methods

Constructor

constructor(dsRegistry: DataSourceRegistry, dialogService: SmartDialogService)
Parameters :
Name Type Optional
dsRegistry DataSourceRegistry No
dialogService SmartDialogService No

Methods

Public closeWindow
closeWindow(route: string)

Closes an already open floating window

Parameters :
Name Type Optional Description
route string No

the Smart Form Angular route that is loaded within the window

Returns : boolean

boolean true if the window was closed, false if no such window was open

Public raiseWindowOpened
raiseWindowOpened(route: string, windowRef: WindowRef)

Registers the newly opened floating window and raises the {floatingWindowOpened} event

Parameters :
Name Type Optional Description
route string No

the Angular Smart Form route rendered within the window

windowRef WindowRef No

the Kendo UI window component reference

Returns : void

Properties

Public Readonly floatingWindowClosed
Use floatingWindowClosedSignal instead
Type : EventEmitter<FloatingWindowClosedEventArgs>
Default value : new EventEmitter()
Public Readonly floatingWindowClosedSignal
Type : Signal<FloatingWindowClosedEventArgs | undefined>
Default value : this._floatingWindowClosedSignal.asReadonly()

Signal emitted when a floating window is closed.

Public Readonly floatingWindowClosing
Use floatingWindowClosingSignal instead
Type : EventEmitter<string>
Default value : new EventEmitter()
Public Readonly floatingWindowClosingSignal
Type : Signal<string | undefined>
Default value : this._floatingWindowClosingSignal.asReadonly()

Signal emitted when a floating window is closing.

Public Readonly floatingWindowOpened
Use floatingWindowOpenedSignal instead
Type : EventEmitter<FloatingWindowOpenedEventArgs>
Default value : new EventEmitter()
Public Readonly floatingWindowOpenedSignal
Type : Signal<FloatingWindowOpenedEventArgs | undefined>
Default value : this._floatingWindowOpenedSignal.asReadonly()

Signal emitted when a floating window is opened.

results matching ""

    No results matching ""