script Function

Returns the URL to a specified script.

Summary

ElementFunction
ReturnsString

Arguments

pathString[required] The path to the script from "/pagetype/scripts/".

Example

$this->script('nano-v1.0.js');