presentationURL()

This property returns the base URL of the Presentation Resources folder of the library project, in which a custom control is defined.

For example, if a project contains myimage.gif located at project/Presentation Resources/images, you can compute the URL of this image using:

var mypath = component.getPresentationURL() + "/images/myimage.gif";

Property Value:

  • The base URL without a trailing path separator