Initlializes a new instance of the PropertyEventArgs class.
Namespace: MindFusion.Common
File: Events.js
JavaScript Copy Code |
---|
function PropertyEventArgs (propertyName, oldValue, newValue) |
Type: String
String. The name of the property that changed.
Type: Object
Object. The old value of the property.
Type: Object
Object. The new value of the property.
The following code handles the propertyValueChanged event for a Calendar instance.
JavaScript Copy Code |
---|
calendar.propertyValueChanged.addEventListener(handlePropertyChanged); function handlePropertyChanged (sender, args ) |