RendererAPI.html 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>JSDoc: Interface: RendererAPI</title>
  6. <script src="scripts/prettify/prettify.js"> </script>
  7. <script src="scripts/prettify/lang-css.js"> </script>
  8. <!--[if lt IE 9]>
  9. <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  10. <![endif]-->
  11. <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
  12. <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
  13. </head>
  14. <body>
  15. <div id="main">
  16. <h1 class="page-title">Interface: RendererAPI</h1>
  17. <section>
  18. <header>
  19. <h2>RendererAPI</h2>
  20. <div class="class-description">API class that is used to render dashboard content.</div>
  21. </header>
  22. <article>
  23. <div class="container-overview">
  24. <dl class="details">
  25. </dl>
  26. <h3>Example</h3>
  27. <pre class="prettyprint"><code>content.getFeature('Renderer')</code></pre>
  28. </div>
  29. <h3 class="subsection-title">Methods</h3>
  30. <h4 class="name" id="destroy"><span class="type-signature"></span>destroy<span class="signature">()</span><span class="type-signature"></span></h4>
  31. <div class="description">
  32. Destroys the view and removes event listeners.
  33. </div>
  34. <dl class="details">
  35. </dl>
  36. <h4 class="name" id="render"><span class="type-signature"></span>render<span class="signature">(domNode)</span><span class="type-signature"></span></h4>
  37. <div class="description">
  38. Renders the content at the provided domNode. StateAPI can be used to wait for completion.
  39. </div>
  40. <h5>Parameters:</h5>
  41. <table class="params">
  42. <thead>
  43. <tr>
  44. <th>Name</th>
  45. <th>Type</th>
  46. <th class="last">Description</th>
  47. </tr>
  48. </thead>
  49. <tbody>
  50. <tr>
  51. <td class="name"><code>domNode</code></td>
  52. <td class="type">
  53. <span class="param-type">HTMLElement</span>
  54. </td>
  55. <td class="description last">Specifies where the content is rendered</td>
  56. </tr>
  57. </tbody>
  58. </table>
  59. <dl class="details">
  60. </dl>
  61. <h5>Example</h5>
  62. <pre class="prettyprint"><code>await content.getFeature('Renderer').render(domNode);</code></pre>
  63. </article>
  64. </section>
  65. </div>
  66. <nav>
  67. <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="AppFactory.html">AppFactory</a></li></ul><h3>Interfaces</h3><ul><li><a href="CanvasAPI.html">CanvasAPI</a></li><li><a href="ContentAPI.html">ContentAPI</a></li><li><a href="ContentStoreAPI.html">ContentStoreAPI</a></li><li><a href="DashboardCoreAPI.html">DashboardCoreAPI</a></li><li><a href="DashboardPreferencesAPI.html">DashboardPreferencesAPI</a></li><li><a href="DashboardSettingsAPI.html">DashboardSettingsAPI</a></li><li><a href="PropertiesAPI.html">PropertiesAPI</a></li><li><a href="RendererAPI.html">RendererAPI</a></li><li><a href="SaveAPI.html">SaveAPI</a></li><li><a href="SerializerAPI.html">SerializerAPI</a></li><li><a href="StateAPI.html">StateAPI</a></li><li><a href="TransactionAPI.html">TransactionAPI</a></li><li><a href="UserProfileAPI.html">UserProfileAPI</a></li></ul>
  68. </nav>
  69. <br class="clear">
  70. <footer>
  71. Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Thu May 05 2022 17:56:07 GMT+0000 (UTC)
  72. </footer>
  73. <script> prettyPrint(); </script>
  74. <script src="scripts/linenumber.js"> </script>
  75. </body>
  76. </html>