smartdown
Version:
A library for translating, rendering and interacting with Smartdown documents. Smartdown is an extension of Markdown that provides richer media support and reactive programming capability.
334 lines (101 loc) • 5.04 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: initialize</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: initialize</h1>
<section>
<header>
<h2><span class="attribs"><span class="type-signature"></span></span>initialize<span class="signature">(media, baseURL, loadedHandler, cardLoader, calcHandlers, linkRules)</span><span class="type-signature"></span></h2>
</header>
<article>
<div class="container-overview">
<h4 class="name" id="initialize"><span class="type-signature"></span>new initialize<span class="signature">(media, baseURL, loadedHandler, cardLoader, calcHandlers, linkRules)</span><span class="type-signature"></span></h4>
<div class="description">
<p>Initialize the smartdown runtime.</p>
</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>media</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last"><p>media</p></td>
</tr>
<tr>
<td class="name"><code>baseURL</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"><p>baseURL</p></td>
</tr>
<tr>
<td class="name"><code>loadedHandler</code></td>
<td class="type">
<span class="param-type">function</span>
</td>
<td class="description last"><p>loadedHandler</p></td>
</tr>
<tr>
<td class="name"><code>cardLoader</code></td>
<td class="type">
<span class="param-type">function</span>
</td>
<td class="description last"><p>cardLoader</p></td>
</tr>
<tr>
<td class="name"><code>calcHandlers</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last"><p>calcHandlers</p></td>
</tr>
<tr>
<td class="name"><code>linkRules</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last"><p>linkRules</p></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="index.js.html">index.js</a>, <a href="index.js.html#line133">line 133</a>
</li></ul></dd>
</dl>
</div>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-calc_handlers.html">calc_handlers</a></li></ul><h3>Classes</h3><ul><li><a href="initialize.html">initialize</a></li></ul><h3>Tutorials</h3><ul><li><a href="tutorial-CODE_OF_CONDUCT.html">Code of Conduct</a></li><li><a href="tutorial-CONTRIBUTING.html">CONTRIBUTING</a></li><li><a href="tutorial-FAQ.html">Frequently Asked Questions</a></li><li><a href="tutorial-LICENSE.html">LICENSE</a></li><li><a href="tutorial-README.html">README</a></li><li><a href="tutorial-VERSIONS.html">VERSIONS</a></li></ul><h3>Global</h3><ul><li><a href="global.html#starter">starter</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a> on Wed Oct 08 2025 20:34:22 GMT-0700 (Pacific Daylight Time)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>