The global function setStylesheet adds a custom stylesheet to the document. This replaces any stylesheet already set with the same DOM id with this function. There are two parameters to this function:

  • a string containing CSS source code
  • a DOM id to assign to the new stylesheet

This function does not return any value.
bag
tiddlywikidev_public
created
Tue, 24 May 2011 10:25:59 GMT
creator
jon
modified
Tue, 24 May 2011 10:26:07 GMT
modifier
jon
tags
globalfunction
wikiformat
mediawiki