The closeTiddler method of the Story class closes a single tiddler from the page. It takes three parameters in this order:
You would use it in a plugin like so:
This function does not return any value.
- the title of the tiddler
- a boolean value indicating whether to animate closing the tiddler
- a boolean value indicating whether to animate slowly. To see this in action, hold down the Shift, Option, or Alt key while clicking the close button for a tiddler.
You would use it in a plugin like so:
story.closeTiddler('tiddlerTitle', true, false);
This function does not return any value.