TitleBox.MetadataChanged

Syntax

MetadataChanged: function(sender, args: PP.Mb.Ui.PropertyChangedEventArgs);

Parameters

sender. Event source.

args. Event information.

Description

The MetadataChanged event occurs after changing title settings.

Example

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:

TitleBox