Class page.head

The header object handles the HTML head section.
Defined in: page.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
The header object handles the HTML head section.
Method Summary
Method Attributes Method Name and Description
<static>  
page.head.get()
Gets the page's HEAD section as written so far.
<static>  
page.head.write(rawText)
Append raw text to the page's HEAD section.
Class Detail
page.head()
The header object handles the HTML head section.
Method Detail
<static> page.head.get()
Gets the page's HEAD section as written so far. Useful especially for page mode "plain", when a library might write to the HEAD section.

<static> page.head.write(rawText)
Append raw text to the page's HEAD section.
page.head.write("""
<style>
  p { font-size: 200%; }
</style>
""");
Parameters:
{string} rawText

©2011 by JGate on AppJet
Documentation generated by JsDoc Toolkit 2.1.0 on Thu Jan 06 2011 10:36:33 GMT+0100 (MEZ)