Parameters
$fileName - _ParamSummary_
$textState - The current text state values.
Returns
The <script> element.
Syntax
| PHP |
|
public static function GetScript(string $fileName, LJCTextState $textState)
|
Gets a <script> element.
Example
| PHP |
// Appends a <script> element for a style sheet.
private static function GetScript()
{
// Root Method Begin
$textState = new LJCTextState();
// Example Method:
$result = LJCHTML::GetScript("Script/File.js", $textState);
// result:
// <script src="Script/File.js"><>
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.