MetadataChanged: function(sender, args: PP.Mb.Ui.PropertyChangedEventArgs);
sender. Event source.
args. Event information.
The MetadataChanged event occurs after changing title settings.
Executing the example requires that the HTML page contains the TitleBox component named titleBox (see Example of Creating the EaxTitleMaster Component). Handle the MetadataChanged event:
title.MetadataChanged.add(function (sender, args) { console.log("Changed property: %s, value: %s", args.getPropertyName(), sender.getPropertyValue(args.getPropertyName())); });
Now check the Show as Control checkbox in the title wizard. After that on occurring the MetadataChanged event the browser console displays name of the changed property and its value:
Changed property: TitleType, value: Control
See also: