Note: An alternative skin, TW4MW (work in progress), is available from the user preferences.
Dev:TiddlyWiki
TiddlyWiki Community Wiki
(Redirected from Dev:TiddlyWiki Class)
The TiddlyWiki class represents an entire TiddlyWiki. It is normally instantiated once, when the page is first loaded, into the global object store. It has one notable property, dirty, which is a boolean representing whether the TiddlyWiki contains unsaved changes.
[edit] Methods
- addNotification: hooks a function to changes in a tiddler
- clear: empties the TiddlyWiki
- createTiddler: instantiates a new tiddler
- removeTiddler: removes an existing tiddler
- fetchTiddler: retrieves a Tiddler object
- filterTiddlers: retrieve a filtered list of tiddlers
- forEachTiddler: executes a function on each tiddler
- getMissingLinks: retrieves a list of missing links
- getOrphans: retrieves a list of orphaned tiddlers
- getRecursiveTiddlerText: retrieves tiddler source code, replacing links with source code
- getReferringTiddlers: finds tiddlers that refer to a particular tiddler
- getShadowed: returns an array of all shadow tiddlers available
- getTags: retrieves a list of all tags used in the TiddlyWiki
- getTiddlerText: returns the source code of a tiddler
- getTiddlers: returns all tiddlers sorted by a criteria
- isDirty: returns whether there are unsaved changes to the TiddlyWiki
- isShadowTiddler: returns whether a tiddler is shadowed
- loadFromDiv: initializes a TiddlyWiki from saved HTML
- notify: invoke notification handlers for a tiddler
- notifyAll: invoke all notification handlers
- resumeNotifications: resumes update notifications
- reverseLookup: finds all tiddlers matching a criteria
- saveTiddler: saves changes to a tiddler
- search: search for tiddlers whose source code contains a string
- setDirty: sets the TiddlyWiki's dirty flag
- suspendNotifications: halts update notifications
- tiddlerExists: returns whether a tiddler exists

