mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	
		
			
	
	
		
			1214 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			1214 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
|   | <!DOCTYPE html> | ||
|  | <html lang="en"> | ||
|  | <head> | ||
|  |     <meta charset="utf-8"> | ||
|  |     <title>JSDoc: Class: RightPanelWidget</title> | ||
|  | 
 | ||
|  |     <script src="scripts/prettify/prettify.js"> </script> | ||
|  |     <script src="scripts/prettify/lang-css.js"> </script> | ||
|  |     <!--[if lt IE 9]>
 | ||
|  |       <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
|  |     <![endif]--> | ||
|  |     <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> | ||
|  |     <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> | ||
|  | </head> | ||
|  | 
 | ||
|  | <body> | ||
|  | 
 | ||
|  | <div id="main"> | ||
|  | 
 | ||
|  |     <h1 class="page-title">Class: RightPanelWidget</h1> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <section> | ||
|  | 
 | ||
|  | <header> | ||
|  |      | ||
|  |         <h2><span class="attribs"><span class="type-signature"></span></span>RightPanelWidget<span class="signature">()</span><span class="type-signature"></span></h2> | ||
|  |          | ||
|  |             <div class="class-description">This widget manages rendering panels in the right-hand pane.</div> | ||
|  |          | ||
|  |      | ||
|  | </header> | ||
|  | 
 | ||
|  | <article> | ||
|  |     <div class="container-overview"> | ||
|  |      | ||
|  |          | ||
|  | 
 | ||
|  |      | ||
|  |     <h2>Constructor</h2> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <h4 class="name" id="RightPanelWidget"><span class="type-signature"></span>new RightPanelWidget<span class="signature">()</span><span class="type-signature"></span></h4> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl class="details"> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="tag-source">Source:</dt> | ||
|  |     <dd class="tag-source"><ul class="dummy"><li> | ||
|  |         <a href="widgets_right_panel_widget.js.html">widgets/right_panel_widget.js</a>, <a href="widgets_right_panel_widget.js.html#line16">line 16</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | </dl> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |      | ||
|  |     </div> | ||
|  | 
 | ||
|  |      | ||
|  |         <h3 class="subsection-title">Extends</h3> | ||
|  | 
 | ||
|  |          | ||
|  | 
 | ||
|  | 
 | ||
|  |     <ul> | ||
|  |         <li><a href="NoteContextAwareWidget.html">NoteContextAwareWidget</a></li> | ||
|  |     </ul> | ||
|  | 
 | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |         <h3 class="subsection-title">Members</h3> | ||
|  | 
 | ||
|  |          | ||
|  |              | ||
|  | <h4 class="name" id="hoistedNoteId"><span class="type-signature"></span>hoistedNoteId<span class="type-signature"></span></h4> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl class="details"> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="inherited-from">Inherited From:</dt> | ||
|  |     <dd class="inherited-from"><ul class="dummy"><li> | ||
|  |         <a href="NoteContextAwareWidget.html#hoistedNoteId">NoteContextAwareWidget#hoistedNoteId</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="tag-source">Source:</dt> | ||
|  |     <dd class="tag-source"><ul class="dummy"><li> | ||
|  |         <a href="widgets_note_context_aware_widget.js.html">widgets/note_context_aware_widget.js</a>, <a href="widgets_note_context_aware_widget.js.html#line42">line 42</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | </dl> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |          | ||
|  |              | ||
|  | <h4 class="name" id="note"><span class="type-signature"></span>note<span class="type-signature"></span></h4> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl class="details"> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="inherited-from">Inherited From:</dt> | ||
|  |     <dd class="inherited-from"><ul class="dummy"><li> | ||
|  |         <a href="NoteContextAwareWidget.html#note">NoteContextAwareWidget#note</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="tag-source">Source:</dt> | ||
|  |     <dd class="tag-source"><ul class="dummy"><li> | ||
|  |         <a href="widgets_note_context_aware_widget.js.html">widgets/note_context_aware_widget.js</a>, <a href="widgets_note_context_aware_widget.js.html#line27">line 27</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | </dl> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |          | ||
|  |              | ||
|  | <h4 class="name" id="noteContext"><span class="type-signature"></span>noteContext<span class="type-signature"> :NoteContext</span></h4> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |     <h5>Type:</h5> | ||
|  |     <ul> | ||
|  |         <li> | ||
|  |              | ||
|  | <span class="param-type">NoteContext</span> | ||
|  | 
 | ||
|  | 
 | ||
|  |         </li> | ||
|  |     </ul> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl class="details"> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="inherited-from">Inherited From:</dt> | ||
|  |     <dd class="inherited-from"><ul class="dummy"><li> | ||
|  |         <a href="NoteContextAwareWidget.html#noteContext">NoteContextAwareWidget#noteContext</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="tag-source">Source:</dt> | ||
|  |     <dd class="tag-source"><ul class="dummy"><li> | ||
|  |         <a href="widgets_note_context_aware_widget.js.html">widgets/note_context_aware_widget.js</a>, <a href="widgets_note_context_aware_widget.js.html#line108">line 108</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | </dl> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |          | ||
|  |              | ||
|  | <h4 class="name" id="noteId"><span class="type-signature"></span>noteId<span class="type-signature"></span></h4> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl class="details"> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="inherited-from">Inherited From:</dt> | ||
|  |     <dd class="inherited-from"><ul class="dummy"><li> | ||
|  |         <a href="NoteContextAwareWidget.html#noteId">NoteContextAwareWidget#noteId</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="tag-source">Source:</dt> | ||
|  |     <dd class="tag-source"><ul class="dummy"><li> | ||
|  |         <a href="widgets_note_context_aware_widget.js.html">widgets/note_context_aware_widget.js</a>, <a href="widgets_note_context_aware_widget.js.html#line32">line 32</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | </dl> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |          | ||
|  |              | ||
|  | <h4 class="name" id="notePath"><span class="type-signature"></span>notePath<span class="type-signature"></span></h4> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl class="details"> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="inherited-from">Inherited From:</dt> | ||
|  |     <dd class="inherited-from"><ul class="dummy"><li> | ||
|  |         <a href="NoteContextAwareWidget.html#notePath">NoteContextAwareWidget#notePath</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="tag-source">Source:</dt> | ||
|  |     <dd class="tag-source"><ul class="dummy"><li> | ||
|  |         <a href="widgets_note_context_aware_widget.js.html">widgets/note_context_aware_widget.js</a>, <a href="widgets_note_context_aware_widget.js.html#line37">line 37</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | </dl> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |          | ||
|  |              | ||
|  | <h4 class="name" id="widgetTitle"><span class="type-signature"></span>widgetTitle<span class="type-signature"></span></h4> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <div class="description"> | ||
|  |     Title to show in the panel. | ||
|  | </div> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl class="details"> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="tag-source">Source:</dt> | ||
|  |     <dd class="tag-source"><ul class="dummy"><li> | ||
|  |         <a href="widgets_right_panel_widget.js.html">widgets/right_panel_widget.js</a>, <a href="widgets_right_panel_widget.js.html#line18">line 18</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | </dl> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |          | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |         <h3 class="subsection-title">Methods</h3> | ||
|  | 
 | ||
|  |          | ||
|  |              | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <h4 class="name" id="cssBlock"><span class="type-signature"></span>cssBlock<span class="signature">(block)</span><span class="type-signature"> → {this}</span></h4> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <div class="description"> | ||
|  |     Accepts a string of CSS to add with the widget. | ||
|  | </div> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |     <h5>Parameters:</h5> | ||
|  |      | ||
|  | 
 | ||
|  | <table class="params"> | ||
|  |     <thead> | ||
|  |     <tr> | ||
|  |          | ||
|  |         <th>Name</th> | ||
|  |          | ||
|  | 
 | ||
|  |         <th>Type</th> | ||
|  | 
 | ||
|  |          | ||
|  | 
 | ||
|  |          | ||
|  | 
 | ||
|  |         <th class="last">Description</th> | ||
|  |     </tr> | ||
|  |     </thead> | ||
|  | 
 | ||
|  |     <tbody> | ||
|  |      | ||
|  | 
 | ||
|  |         <tr> | ||
|  |              | ||
|  |                 <td class="name"><code>block</code></td> | ||
|  |              | ||
|  | 
 | ||
|  |             <td class="type"> | ||
|  |              | ||
|  |                  | ||
|  | <span class="param-type">string</span> | ||
|  | 
 | ||
|  | 
 | ||
|  |              | ||
|  |             </td> | ||
|  | 
 | ||
|  |              | ||
|  | 
 | ||
|  |              | ||
|  | 
 | ||
|  |             <td class="description last"></td> | ||
|  |         </tr> | ||
|  | 
 | ||
|  |      | ||
|  |     </tbody> | ||
|  | </table> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl class="details"> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="inherited-from">Inherited From:</dt> | ||
|  |     <dd class="inherited-from"><ul class="dummy"><li> | ||
|  |         <a href="BasicWidget.html#cssBlock">BasicWidget#cssBlock</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="tag-source">Source:</dt> | ||
|  |     <dd class="tag-source"><ul class="dummy"><li> | ||
|  |         <a href="widgets_basic_widget.js.html">widgets/basic_widget.js</a>, <a href="widgets_basic_widget.js.html#line78">line 78</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | </dl> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <h5>Returns:</h5> | ||
|  | 
 | ||
|  |          | ||
|  | <div class="param-desc"> | ||
|  |     for chaining | ||
|  | </div> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl> | ||
|  |     <dt> | ||
|  |         Type | ||
|  |     </dt> | ||
|  |     <dd> | ||
|  |          | ||
|  | <span class="param-type">this</span> | ||
|  | 
 | ||
|  | 
 | ||
|  |     </dd> | ||
|  | </dl> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |          | ||
|  |              | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <h4 class="name" id="doRender"><span class="type-signature"></span>doRender<span class="signature">()</span><span class="type-signature"></span></h4> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <div class="description"> | ||
|  |     Do not override this method unless you know what you're doing. | ||
|  | </div> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl class="details"> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="tag-overrides">Overrides:</dt> | ||
|  |     <dd class="tag-overrides"><ul class="dummy"><li> | ||
|  |         <a href="NoteContextAwareWidget.html#doRender">NoteContextAwareWidget#doRender</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="tag-source">Source:</dt> | ||
|  |     <dd class="tag-source"><ul class="dummy"><li> | ||
|  |         <a href="widgets_right_panel_widget.js.html">widgets/right_panel_widget.js</a>, <a href="widgets_right_panel_widget.js.html#line25">line 25</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | </dl> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |          | ||
|  |              | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <h4 class="name" id="doRenderBody"><span class="type-signature">(async) </span>doRenderBody<span class="signature">()</span><span class="type-signature"> → {JQuery.<HTMLElement>}</span></h4> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <div class="description"> | ||
|  |     Method used for rendering the body of the widget.
Your class should override this method. | ||
|  | </div> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl class="details"> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="tag-source">Source:</dt> | ||
|  |     <dd class="tag-source"><ul class="dummy"><li> | ||
|  |         <a href="widgets_right_panel_widget.js.html">widgets/right_panel_widget.js</a>, <a href="widgets_right_panel_widget.js.html#line47">line 47</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | </dl> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <h5>Returns:</h5> | ||
|  | 
 | ||
|  |          | ||
|  | <div class="param-desc"> | ||
|  |     The body of your widget. | ||
|  | </div> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl> | ||
|  |     <dt> | ||
|  |         Type | ||
|  |     </dt> | ||
|  |     <dd> | ||
|  |          | ||
|  | <span class="param-type">JQuery.<HTMLElement></span> | ||
|  | 
 | ||
|  | 
 | ||
|  |     </dd> | ||
|  | </dl> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |          | ||
|  |              | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <h4 class="name" id="isEnabled"><span class="type-signature"></span>isEnabled<span class="signature">()</span><span class="type-signature"> → {boolean}</span></h4> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl class="details"> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="inherited-from">Inherited From:</dt> | ||
|  |     <dd class="inherited-from"><ul class="dummy"><li> | ||
|  |         <a href="NoteContextAwareWidget.html#isEnabled">NoteContextAwareWidget#isEnabled</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="tag-source">Source:</dt> | ||
|  |     <dd class="tag-source"><ul class="dummy"><li> | ||
|  |         <a href="widgets_note_context_aware_widget.js.html">widgets/note_context_aware_widget.js</a>, <a href="widgets_note_context_aware_widget.js.html#line53">line 53</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | </dl> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <h5>Returns:</h5> | ||
|  | 
 | ||
|  |          | ||
|  | <div class="param-desc"> | ||
|  |     true when an active note exists | ||
|  | </div> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl> | ||
|  |     <dt> | ||
|  |         Type | ||
|  |     </dt> | ||
|  |     <dd> | ||
|  |          | ||
|  | <span class="param-type">boolean</span> | ||
|  | 
 | ||
|  | 
 | ||
|  |     </dd> | ||
|  | </dl> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |          | ||
|  |              | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <h4 class="name" id="refreshWithNote"><span class="type-signature">(async) </span>refreshWithNote<span class="signature">(note)</span><span class="type-signature"> → {Promise.<void>}</span></h4> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <div class="description"> | ||
|  |     Override this method to be able to refresh your
widget with each note. | ||
|  | </div> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |     <h5>Parameters:</h5> | ||
|  |      | ||
|  | 
 | ||
|  | <table class="params"> | ||
|  |     <thead> | ||
|  |     <tr> | ||
|  |          | ||
|  |         <th>Name</th> | ||
|  |          | ||
|  | 
 | ||
|  |         <th>Type</th> | ||
|  | 
 | ||
|  |          | ||
|  | 
 | ||
|  |          | ||
|  | 
 | ||
|  |         <th class="last">Description</th> | ||
|  |     </tr> | ||
|  |     </thead> | ||
|  | 
 | ||
|  |     <tbody> | ||
|  |      | ||
|  | 
 | ||
|  |         <tr> | ||
|  |              | ||
|  |                 <td class="name"><code>note</code></td> | ||
|  |              | ||
|  | 
 | ||
|  |             <td class="type"> | ||
|  |              | ||
|  |                  | ||
|  | <span class="param-type"><a href="FNote.html">FNote</a></span> | ||
|  | 
 | ||
|  | 
 | ||
|  |              | ||
|  |             </td> | ||
|  | 
 | ||
|  |              | ||
|  | 
 | ||
|  |              | ||
|  | 
 | ||
|  |             <td class="description last"></td> | ||
|  |         </tr> | ||
|  | 
 | ||
|  |      | ||
|  |     </tbody> | ||
|  | </table> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl class="details"> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="inherited-from">Inherited From:</dt> | ||
|  |     <dd class="inherited-from"><ul class="dummy"><li> | ||
|  |         <a href="NoteContextAwareWidget.html#refreshWithNote">NoteContextAwareWidget#refreshWithNote</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  |     <dt class="tag-source">Source:</dt> | ||
|  |     <dd class="tag-source"><ul class="dummy"><li> | ||
|  |         <a href="widgets_note_context_aware_widget.js.html">widgets/note_context_aware_widget.js</a>, <a href="widgets_note_context_aware_widget.js.html#line73">line 73</a> | ||
|  |     </li></ul></dd> | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | </dl> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | <h5>Returns:</h5> | ||
|  | 
 | ||
|  |          | ||
|  | 
 | ||
|  | 
 | ||
|  | <dl> | ||
|  |     <dt> | ||
|  |         Type | ||
|  |     </dt> | ||
|  |     <dd> | ||
|  |          | ||
|  | <span class="param-type">Promise.<void></span> | ||
|  | 
 | ||
|  | 
 | ||
|  |     </dd> | ||
|  | </dl> | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |          | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | 
 | ||
|  |      | ||
|  | </article> | ||
|  | 
 | ||
|  | </section> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | </div> | ||
|  | 
 | ||
|  | <nav> | ||
|  |     <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="BasicWidget.html">BasicWidget</a></li><li><a href="FAttachment.html">FAttachment</a></li><li><a href="FAttribute.html">FAttribute</a></li><li><a href="FBranch.html">FBranch</a></li><li><a href="FNote.html">FNote</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteContextAwareWidget.html">NoteContextAwareWidget</a></li><li><a href="RightPanelWidget.html">RightPanelWidget</a></li></ul><h3>Global</h3><ul><li><a href="global.html#api">api</a></li></ul> | ||
|  | </nav> | ||
|  | 
 | ||
|  | <br class="clear"> | ||
|  | 
 | ||
|  | <footer> | ||
|  |     Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> | ||
|  | </footer> | ||
|  | 
 | ||
|  | <script> prettyPrint(); </script> | ||
|  | <script src="scripts/linenumber.js"> </script> | ||
|  | </body> | ||
|  | </html> |