SwatObject
└─SwatHtmlHeadEntry
└─SwatJavaScriptHtmlHeadEntry
public class SwatJavaScriptHtmlHeadEntry
extends SwatHtmlHeadEntry
| Fields inherited from Swat.SwatHtmlHeadEntry | |
|---|---|
| package_id, uri | |
| Method Summary | |
|---|---|
| void | display(string uri_prefix) Displays this html head entry. |
| void | displayInline(string path) Displays the resource referenced by this html head entry inline. |
| Methods inherited from Swat.SwatHtmlHeadEntry | |
|---|---|
| display, displayInline, getPackageId, getType, getUri | |
public void display(string uri_prefix)
Displays this html head entry
Entries are displayed differently based on type.
uri_prefix - an optional string to prefix the URI with.public void displayInline(string path)
Displays the resource referenced by this html head entry inline
Entries are displayed differently based on type.
path - the path containing the resource files.
Stores and outputs an HTML head entry for a JavaScript include