VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI.UIElements Namespace / WebUiElementJS type / stateChanging Event
Syntax BrowserCompatibility SeeAlso
In This Topic
stateChanging Event (WebUiElementJS)
In This Topic
Occurs when UI element active state is changing.
Syntax
var instance; // Type: WebUiElementJS
instance.stateChanging = function(event) { }

Parameters

event
Object that contains information about event. Object has the following properties:
  • target (object): An object that raised the event.
  • type (string): Event name.
  • data (object): An object that contains data, which were specified when subscribing to the event.
  • originalEvent (object): Original event if event was received from DOM-element.
eventArgs
Object that contains event arguments. Object has the following properties:
  • oldState (object): Previous active state. WebUiElementStateJS object.
  • newState (object): New active state. WebUiElementStateJS object.
  • cancel (boolean): Indicates that the changing of active state must be canceled.
Browser Compatibility
56+
45+
11
See Also