mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Clarify widget constructor docs
This commit is contained in:
parent
be040ea8a2
commit
40b4259e86
@ -18,11 +18,8 @@ Create a widget object for a parse tree node
|
||||
options: see below
|
||||
Options include:
|
||||
wiki: mandatory reference to wiki associated with this render tree
|
||||
variables: optional hashmap of context variables (see below)
|
||||
parentWidget: optional reference to a parent renderer node for the context chain
|
||||
document: optional document object to use instead of global document
|
||||
Context variables include:
|
||||
currentTiddler: title of the tiddler providing the context
|
||||
*/
|
||||
var Widget = function(parseTreeNode,options) {
|
||||
if(arguments.length > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user