getPropertyValue(propertyName: PP.Exp.Ui.TitleProperties);
propertyName. Name of the property for which the user gets value.
The getPropertyValue method returns value of a specified property.
The method returns a String-type value.
Executing the example requires that the HTML page contains the TitleBox component named titleBox (see Example of Creating the EaxTitleMaster Component). Handle the PropertyChanged event:
title.PropertyChanged.add(function (sender, args) { console.log("Changed property: %s, value: %s", args.getPropertyName(), title.getPropertyValue(args.getPropertyName())); });
Now check the Show as Control checkbox in the title wizard. After that on firing the PropertyChanged event the browser console displays name of the changed property and its value:
Changed property: TitleType, value: Control
See also: