The createTiddler method of the Story Class opens a tiddler on the page. If a tiddler by the requested name doesn't exist, it appears ready to edit. This method takes four parameters:

  • the overall parent DOM element to display the tiddler inside.
  • the DOM element inside the first parameter to display directly after. A null value places it at the end of the entire element.
  • the title of the tiddler to display.
  • the template to use to display the tiddler. It should be either the constant DEFAULT_VIEW_TEMPLATE or DEFAULT_EDIT_TEMPLATE.

This method returns the newly created DOM element.
bag
tiddlywikidev_public
created
Tue, 31 May 2011 14:12:06 GMT
creator
jon
modified
Tue, 31 May 2011 14:12:06 GMT
modifier
jon
wikiformat
mediawiki