SetHighlightState Method
The SetHighlightState method sets the highlight for the active applet. It uses the following syntax:
SetHighlightState(isActive, newActiveApplet)
For example:
this.SetHighlightState(isActive);
You can add the following code to the physical renderer:
this.AttachPMBinding("SetHighlightState", function(isActive, newActiveApplet){
custom_code
});
where:
custom_code is code that you write that sets the highlight.
For information about where you add this code, see Adding Code to the Physical Renderer.
For more information about using this method, see Life Cycle Flows of User Interface Elements.