The following tables list the members exposed by DialogClientEvents.
Name | Description | |
---|---|---|
AnimationEnded | Event which is raised after end animation when dialod was closed or opened. Function takes arguments "evt" and "ui". Use ui.owner to obtain reference to igDialog. Use ui.action to obtain name of action, which triggered animation. "open" - dialog was opened "close" - dialog was closed | |
Blur | Event which is raised when dialog or its content loses focus. Function takes arguments "evt" and "ui". Use evt to obtain browser event. Use ui.owner to obtain reference to igDialog. | |
Focus | Event which is raised when dialog or its content gets focus. Function takes arguments "evt" and "ui". Use evt to obtain browser event. Use ui.owner to obtain reference to igDialog. | |
StateChanged | Event which is raised after state of dialog was changed. Function takes arguments "evt" and "ui". Use evt to obtain browser event. That parameter can be null if state was modified from codes. Use ui.owner to obtain reference to igDialog. Use ui.button to obtain name of button, which triggered event. Note: if state was modified from codes, then "button" is undefined. Use ui.oldState to obtain old state of dialog, which can be one of following: "opened", "minimized", "maximized", "closed". Use ui.oldPinned to obtain boolean value of old pin state of dialog. Use ui.action to obtain name of action. That can be one of the following: "open" - dialog was opened. Note: event is raised before possible "openAnimation" started. "close" - dialog was closed. Note: event is raised before possible "closeAnimation" started. "minimize" - dialog was minimized "maximize" - dialog was maximized "restore" - dialog was restored from minimized or maximized state "pin" - dialog was pinned "unpin" - dialog was unpinned | |
StateChanging | Event which is raised before state of dialog was changed. Return false in order to cancel action. Function takes arguments "evt" and "ui". Use evt to obtain browser event. That parameter can be null if state was modified from codes. Use ui.owner to obtain reference to igDialog. Use ui.button to obtain name of button, which triggered event. Note: if state was modified from codes, then "button" is undefined. Use ui.oldState to obtain old state of dialog, which can be one of following: "opened", "minimized", "maximized", "closed". Use ui.oldPinned to obtain boolean value of old pin state of dialog. Use ui.action to obtain name of action. That can be one of the following: "open" - request to open dialog "close" - request to close dialog "minimize" - request to minimize dialog "maximize" - request to maximize dialog "restore" - request to restore dialog from minimized or maximized state "pin" - request to pin dialog "unpin" - request to unpin dialog |
View on GitHub