The setDirty method of the Story class sets the dirty flag of a single tiddler, which indicates whether it contains unsaved changes. It takes two parameters:
This method does not return any value.
For example to set this tiddler to dirty you would do the following:
- the title of the tiddler
- the boolean value to set the dirty flag to
This method does not return any value.
For example to set this tiddler to dirty you would do the following:
story.setDirty('Story.setDirty', true);