currentManagerChanging Event (WebCompositeUndoManagerJS)
In This Topic
Occurs when the current manager of this manager is changing.
Syntax
var instance; // Type: WebCompositeUndoManagerJS
instance.currentManagerChanging = function(event) { }
currentManagerChanging = function (
: object
: object
) { };
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:
- oldValue (object): Previous current manager of this manager.
- newValue (object): New current manager of this manager.
- cancel (boolean): Indicates that the changing of property value must be canceled.
Browser Compatibility
See Also