WbkPropertyBarView.PropertyChanged

Syntax

PropertyChanged: function(sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The PropertyChanged event is fired when the user finishes changing workbook properties.

Example

To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Process the PropertyChanged, PropertyChanging and RequestMetadata events, then call them programmatically:

// Get workbook properties panel
var propertyBar = workbookBox.getPropertyBarView();
// Determine handlers for events of properties panel setting change and metadata request
var onChanged = function (sender, args) {
    console.log(args.Args);
};
var onChanging = function (sender, args) {
    console.log(args.Args);
};
// Process the PropertyChanging, PropertyChanged and RequestMetadata events
propertyBar.PropertyChanging = new PP.Delegate(onChanging, this, "Property changing.");
propertyBar.PropertyChanged = new PP.Delegate(onChanged, this, "Property changed.");
propertyBar.RequestMetadata = new PP.Delegate(onChanged, this, "Request of metadata.");
// Fire these events
propertyBar.PropertyChanging.fire(this);
propertyBar.PropertyChanged.fire(this);
propertyBar.RequestMetadata.fire(this);

After executing the example the PropertyChanged, PropertyChanging and RequestMetadata events are called, and appropriate notices are displayed in the browser console:

Property changing.

Property changed.

Request of metadata.

See also:

WbkPropertyBarView