tw5-typed / modules/widgets/navigator / navigator
Class: navigator
modules/widgets/navigator.navigator
Link
https://tiddlywiki.com/dev/#Widgets
Create a widget object for a parse tree node
- parseTreeNode: reference to the parse tree node to be rendered
- options: see below
Options include:
- wiki: mandatory reference to wiki associated with this render tree
- parentWidget: optional reference to a parent renderer node for the context chain
- document: optional document object to use instead of global document
Hierarchy
-
↳
navigator
Table of contents
Constructors
Properties
- ancestorCount
- attributes
- children
- document
- domNodes
- eventListeners
- parentDomNode
- parentWidget
- parseTreeNode
- qualifiers
- variables
- widgetClasses
- wiki
Methods
- addEventListener
- addEventListeners
- addToHistory
- addToStory
- allowActionPropagation
- assignAttributes
- computeAttribute
- computeAttributes
- dispatchEvent
- evaluateMacroModule
- execute
- findFirstDomNode
- findNextSiblingDomNode
- generateDraftTitle
- getAncestorCount
- getAttribute
- getStateQualifier
- getStoryList
- getVariable
- getVariableInfo
- handleCancelTiddlerEvent
- handleCloseAllTiddlersEvent
- handleCloseOtherTiddlersEvent
- handleCloseTiddlerEvent
- handleDeleteTiddlerEvent
- handleEditTiddlerEvent
- handleFoldAllTiddlersEvent
- handleFoldOtherTiddlersEvent
- handleFoldTiddlerEvent
- handleImportTiddlersEvent
- handleNavigateEvent
- handleNewTiddlerEvent
- handlePerformImportEvent
- handleSaveTiddlerEvent
- handleUnfoldAllTiddlersEvent
- hasAttribute
- hasParseTreeNodeAttribute
- hasVariable
- initialise
- invokeAction
- invokeActionString
- invokeActions
- makeChildWidget
- makeChildWidgets
- makeDraftTiddler
- nextSibling
- previousSibling
- refresh
- refreshChildren
- refreshSelf
- removeChildDomNodes
- removeLocalDomNodes
- removeTitleFromStory
- render
- renderChildren
- replaceFirstTitleInStory
- resolveVariableParameters
- saveStoryList
- setVariable
- substituteVariableReferences
Constructors
constructor
• new navigator(parseTreeNode
, options?
): navigator
Parameters
Name | Type |
---|---|
parseTreeNode | IParseTreeNode |
options? | IWidgetInitialiseOptions |
Returns
Inherited from
Defined in
src/modules/widgets/index.d.ts:117
Properties
ancestorCount
• Optional
ancestorCount: number
Inherited from
Defined in
src/modules/widgets/index.d.ts:106
attributes
• attributes: Record
<string
, string
>
Inherited from
Defined in
src/modules/widgets/index.d.ts:86