Class ViewManager : onGetHTMLForProgrammePopupAlertDescription Event


String onGetHTMLForProgrammePopupAlertDescription( Programme prog )

Summary

Called to obtain the HTML text that appears in the middle, scrolling, region of an Alert window. This area normally contains programme description and cast information.


Parameters

ParameterDescription
Programme prog The programme object for the current programme.


Returns


Return the string, with HTML formatting that you wish to appear in the Alert window scrolling region.


Examples

var vm = app.getViewManager();

// Override our ViewManager event
vm.onGetHTMLForProgrammePopupAlertDetails = function( prog )
{
return "<b>" + prog.name + "</b>";
};
vm.onGetHTMLForProgrammePopupAlertDescription = function( prog )
{
return prog.description;
};


See Also

  • Programme
  • ViewManager : onGetHTMLForProgrammeInfoPanel


    Requirements

    Build 1067