MyApi.Class.html 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width">
  6. <title>MyApi.Class</title>
  7. <!--[if lt IE 9]>
  8. <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  9. <![endif]-->
  10. <link href="https://fonts.googleapis.com/css?family=PT+Mono" rel="stylesheet">
  11. <link type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
  12. <link type="text/css" rel="stylesheet" href="css/prism.min.css">
  13. <link type="text/css" rel="stylesheet" href="css/template.min.css">
  14. <script type="text/javascript">
  15. window.TEMPLATE_OPTIONS = {"includeDate":true,"dateFormat":"Do MMM YYYY","systemName":"FooDoc","systemSummary":"A Bootstrap and Handlebars based template for JSDoc3.","systemLogo":"","systemColor":"","navMembers":[{"kind":"class","title":"Classes","summary":"All documented classes."},{"kind":"external","title":"Externals","summary":"All documented external members."},{"kind":"global","title":"Globals","summary":"All documented globals."},{"kind":"mixin","title":"Mixins","summary":"All documented mixins."},{"kind":"interface","title":"Interfaces","summary":"All documented interfaces."},{"kind":"module","title":"Modules","summary":"All documented modules."},{"kind":"namespace","title":"Namespaces","summary":"All documented namespaces."},{"kind":"tutorial","title":"Tutorials","summary":"All available tutorials."}],"footer":"","copyright":"FooDoc Copyright © 2016 The contributors to the JSDoc3 and FooDoc projects.","linenums":true,"collapseSymbols":true,"inverseNav":true,"inlineNav":false,"outputSourceFiles":true,"sourceRootPath":null,"disablePackagePath":true,"outputSourcePath":false,"showTableOfContents":true,"showAccessFilter":true,"analytics":null,"methodHeadingReturns":true,"sort":"linenum, longname, version, since","search":true,"favicon":null,"stylesheets":[],"scripts":[],"monospaceLinks":false,"cleverLinks":false};
  16. window.DOCLET_TOC_ENABLED = true;
  17. window.DOCLET_AFILTER_ENABLED = true;
  18. </script>
  19. </head>
  20. <body>
  21. <!-- start:navbar.hbs -->
  22. <header class="navbar navbar-default navbar-fixed-top navbar-inverse">
  23. <div class="container">
  24. <div class="navbar-header">
  25. <a class="navbar-brand" href="index.html">
  26. FooDoc
  27. </a>
  28. <!-- displayed on small devices -->
  29. <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. </div>
  35. <div class="navbar-collapse collapse" id="topNavigation">
  36. <ul class="nav navbar-nav">
  37. <li class="dropdown">
  38. <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Globals<b class="caret"></b></a>
  39. <ul class="dropdown-menu">
  40. <li><a href="global.html#SomeType">SomeType</a></li>
  41. </ul>
  42. </li>
  43. <li class="dropdown">
  44. <a href="list_class.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
  45. <ul class="dropdown-menu">
  46. <li><a href="CustomError.html">CustomError</a></li>
  47. <li><a href="GlobalClass.html">GlobalClass</a></li>
  48. <li><a href="MyApi.Child.html">MyApi.Child</a></li>
  49. <li><a href="MyApi.Class.html">MyApi.Class</a></li>
  50. </ul>
  51. </li>
  52. <li class="dropdown">
  53. <a href="list_namespace.html" class="dropdown-toggle" data-toggle="dropdown">Namespaces<b class="caret"></b></a>
  54. <ul class="dropdown-menu">
  55. <li><a href="MyApi.html">MyApi</a></li>
  56. <li><a href="MyApi.utils.html">MyApi.utils</a></li>
  57. </ul>
  58. </li>
  59. <li class="dropdown">
  60. <a href="list_tutorial.html" class="dropdown-toggle" data-toggle="dropdown">Tutorials<b class="caret"></b></a>
  61. <ul class="dropdown-menu">
  62. <li><a href="tutorial-brush-teeth.html">Brush Teeth</a></li>
  63. <li><a href="tutorial-drive-car.html">Drive Car</a></li>
  64. </ul>
  65. </li>
  66. </ul>
  67. <!-- start:lunr-search-navbar.hbs -->
  68. <form class="navbar-form navbar-right" role="search">
  69. <div class="input-group">
  70. <input type="text" class="form-control" placeholder="Search" id="lunr-search-input">
  71. <div class="input-group-btn">
  72. <button class="btn btn-default" id="lunr-search-submit">
  73. <i class="glyphicon glyphicon-search"></i>
  74. </button>
  75. </div>
  76. </div>
  77. </form>
  78. <!-- start:lunr-search-navbar.hbs --> </div>
  79. </div>
  80. </header>
  81. <!-- end:navbar.hbs --> <div class="page-header">
  82. <div class="container">
  83. <span class="kind">class</span>
  84. <h1><span class="ancestors"><a href="MyApi.html">MyApi</a>.</span><span class="name">Class</span></h1>
  85. <div class="summary"><p>This is the summary of the MyApi test class, test <code>markdown</code>.</p></div> </div>
  86. </div>
  87. <div class="container content">
  88. <div class="row">
  89. <div class="col-md-9 main-content">
  90. <ol class="breadcrumb">
  91. <li><a href="index.html">Home</a></li>
  92. <li><a href="list_class.html">Classes</a></li>
  93. <li class="active"><a href="MyApi.html">MyApi</a>.Class</li>
  94. </ol>
  95. <div class="access-filter">
  96. <label class="checkbox-inline">
  97. <input class="toggle-public" type="checkbox" value="" checked>
  98. Public
  99. </label>
  100. <label class="checkbox-inline">
  101. <input class="toggle-protected" type="checkbox" value="" checked>
  102. Protected
  103. </label>
  104. <label class="checkbox-inline">
  105. <input class="toggle-private" type="checkbox" value="" checked>
  106. Private
  107. </label>
  108. </div>
  109. <section>
  110. <dl class="symbol primary">
  111. <dt class="symbol-title class collapsible-symbol expanded">
  112. <h2 class="class"><span class="signature-new">new&nbsp;</span><span class="name">Class</span><span class="signature-params">( <span class="signature-param">arg1</span> [,&nbsp;<span class="signature-param">...arg2</span>&nbsp;]&nbsp;)</span><span class="signature-type"></span></h2>
  113. <div class="summary"><p>This is the summary of the MyApi test class, test <code>markdown</code>.</p></div></dt>
  114. <dd class="symbol-details class collapsible-symbol expanded" style="max-height: 9999px;">
  115. <div class="symbol-details-inner">
  116. <div class="callout callout-primary"><h5>Description</h5> <div class="description"><p>This is the description for the class this is meant to be a more in depth explanation of what this class does and it's general use case, test <code>markdown</code></p></div>
  117. </div> <div class="callout callout-info">
  118. <h5>Parameters</h5>
  119. <table class="params table table-striped">
  120. <thead>
  121. <tr>
  122. <th>Name</th>
  123. <th>Type</th>
  124. <th>Attributes</th>
  125. <th>Default</th>
  126. <th class="last">Description</th>
  127. </tr>
  128. </thead>
  129. <tbody>
  130. <tr>
  131. <td><code>arg1</code></td>
  132. <td><span class="param-type">string</span></td>
  133. <td class="attributes"></td>
  134. <td></td>
  135. <td class="last">
  136. <p>The first test arg, test <code>markdown</code>.</p>
  137. </td>
  138. </tr>
  139. <tr>
  140. <td><code>arg2</code></td>
  141. <td><span class="param-type">string</span></td>
  142. <td class="attributes">&lt;optional&gt;<br/>&lt;repeatable&gt;<br/></td>
  143. <td>false</td>
  144. <td class="last">
  145. <p>A repeatable, optional argument with a default value of false, test <code>markdown</code>.</p>
  146. </td>
  147. </tr>
  148. </tbody>
  149. </table>
  150. </div>
  151. <div class="callout callout-example"><h5>Examples</h5> <div class="example-caption"><p>You can provide example captions with <code>markdown</code> and specify the language to use when rendering the code, defaults to <code>javascript</code>.</p></div>
  152. <div class="example-code">
  153. <pre class="prettyprint source language-javascript"><code class="language-javascript"> var gc &#x3D; new GlobalClass(&quot;arg1&quot;, &quot;arg2&quot;);</code></pre>
  154. </div>
  155. <div class="example-code">
  156. <pre class="prettyprint source language-xml"><code class="language-xml"> &lt;head&gt; &lt;title&gt;HTML Highlighting&lt;/title&gt; &lt;script&gt; // supports embedded languages var gc &#x3D; new GlobalClass(&quot;arg1&quot;, &quot;arg2&quot;); &lt;/script&gt; &lt;/head&gt;</code></pre>
  157. </div>
  158. </div> <div class="callout callout-default"><h5>Details</h5> <form class="form-horizontal details">
  159. <!-- source -->
  160. <div class="form-group">
  161. <label class="col-sm-3 control-label">Source</label>
  162. <div class="col-sm-9">
  163. <p class="form-control-static"><a href="MyApi.js.html">MyApi.js</a>, <a href="MyApi.js.html#line-25">line 25</a></p>
  164. </div>
  165. </div>
  166. </form>
  167. </div> </div>
  168. </dd>
  169. </dl>
  170. <article class="secondary">
  171. <h3>Members</h3>
  172. <dl class="symbol">
  173. <hr/>
  174. <dt class="symbol-title member public collapsible-symbol">
  175. <h4 id="publicMember" class="member public"><span class="name">publicMember</span><span class="signature-type"> :string</span></h4>
  176. <div class="summary"><p>I'm a member of the class.</p></div></dt>
  177. <dd class="symbol-details member public collapsible-symbol">
  178. <div class="symbol-details-inner">
  179. <div class="callout callout-default"><h5>Details</h5> <form class="form-horizontal details">
  180. <!-- type -->
  181. <div class="form-group">
  182. <label class="col-sm-3 control-label">Type</label>
  183. <div class="col-sm-9">
  184. <div class="form-control-static type-names"><span class="param-type">string</span></div>
  185. </div>
  186. </div>
  187. <!-- defaultvalue -->
  188. <div class="form-group">
  189. <label class="col-sm-3 control-label">Default Value</label>
  190. <div class="col-sm-9">
  191. <p class="form-control-static">&quot;I&#x27;m an instance member.&quot;</p>
  192. </div>
  193. </div>
  194. <!-- source -->
  195. <div class="form-group">
  196. <label class="col-sm-3 control-label">Source</label>
  197. <div class="col-sm-9">
  198. <p class="form-control-static"><a href="MyApi.js.html">MyApi.js</a>, <a href="MyApi.js.html#line-44">line 44</a></p>
  199. </div>
  200. </div>
  201. </form>
  202. </div> </div>
  203. </dd>
  204. <hr/>
  205. <dt class="symbol-title member protected collapsible-symbol">
  206. <h4 id="protectedMember" class="member protected"><span class="signature-attribs">&lt;protected> </span><span class="name">protectedMember</span><span class="signature-type"> :string</span></h4>
  207. <div class="summary"><p>I'm a protected member of the class.</p></div></dt>
  208. <dd class="symbol-details member protected collapsible-symbol">
  209. <div class="symbol-details-inner">
  210. <div class="callout callout-default"><h5>Details</h5> <form class="form-horizontal details">
  211. <!-- type -->
  212. <div class="form-group">
  213. <label class="col-sm-3 control-label">Type</label>
  214. <div class="col-sm-9">
  215. <div class="form-control-static type-names"><span class="param-type">string</span></div>
  216. </div>
  217. </div>
  218. <!-- defaultvalue -->
  219. <div class="form-group">
  220. <label class="col-sm-3 control-label">Default Value</label>
  221. <div class="col-sm-9">
  222. <p class="form-control-static">&quot;I&#x27;m a protected member.&quot;</p>
  223. </div>
  224. </div>
  225. <!-- source -->
  226. <div class="form-group">
  227. <label class="col-sm-3 control-label">Source</label>
  228. <div class="col-sm-9">
  229. <p class="form-control-static"><a href="MyApi.js.html">MyApi.js</a>, <a href="MyApi.js.html#line-52">line 52</a></p>
  230. </div>
  231. </div>
  232. </form>
  233. </div> </div>
  234. </dd>
  235. <hr/>
  236. <dt class="symbol-title member private collapsible-symbol">
  237. <h4 id="_privateMember" class="member private"><span class="signature-attribs">&lt;private> </span><span class="name">_privateMember</span><span class="signature-type"> :string</span></h4>
  238. <div class="summary"><p>I'm a private member of the class.</p></div></dt>
  239. <dd class="symbol-details member private collapsible-symbol">
  240. <div class="symbol-details-inner">
  241. <div class="callout callout-default"><h5>Details</h5> <form class="form-horizontal details">
  242. <!-- type -->
  243. <div class="form-group">
  244. <label class="col-sm-3 control-label">Type</label>
  245. <div class="col-sm-9">
  246. <div class="form-control-static type-names"><span class="param-type">string</span></div>
  247. </div>
  248. </div>
  249. <!-- defaultvalue -->
  250. <div class="form-group">
  251. <label class="col-sm-3 control-label">Default Value</label>
  252. <div class="col-sm-9">
  253. <p class="form-control-static">&quot;I&#x27;m a private member.&quot;</p>
  254. </div>
  255. </div>
  256. <!-- source -->
  257. <div class="form-group">
  258. <label class="col-sm-3 control-label">Source</label>
  259. <div class="col-sm-9">
  260. <p class="form-control-static"><a href="MyApi.js.html">MyApi.js</a>, <a href="MyApi.js.html#line-61">line 61</a></p>
  261. </div>
  262. </div>
  263. </form>
  264. </div> </div>
  265. </dd>
  266. </dl>
  267. <h3>Methods</h3>
  268. <dl class="symbol">
  269. <hr/>
  270. <dt class="symbol-title function public collapsible-symbol">
  271. <h4 id="testMethod" class="function public"><span class="name">testMethod</span><span class="signature-params">( <span class="signature-param">value</span>, <span class="signature-param">obj</span> [,&nbsp;<span class="signature-param">...objN</span>&nbsp;]&nbsp;)</span><span class="signature-type"> &rarr;&nbsp;{Object}</span></h4>
  272. <div class="summary"><p>This is a test instance method of the MyApi test class, test <code>markdown</code>.</p></div></dt>
  273. <dd class="symbol-details function public collapsible-symbol">
  274. <div class="symbol-details-inner">
  275. <div class="callout callout-primary"><h5>Description</h5> <div class="description"><p>This method is not overridden in the <a href="MyApi.Child.html">MyApi.Child</a> class but is simply inherited.</p></div>
  276. </div> <div class="callout callout-info">
  277. <h5>Parameters</h5>
  278. <table class="params table table-striped">
  279. <thead>
  280. <tr>
  281. <th>Name</th>
  282. <th>Type</th>
  283. <th>Attributes</th>
  284. <th class="last">Description</th>
  285. </tr>
  286. </thead>
  287. <tbody>
  288. <tr>
  289. <td><code>value</code></td>
  290. <td><span class="param-type">*</span></td>
  291. <td class="attributes"></td>
  292. <td class="last">
  293. <p>Any value, test <code>markdown</code></p>
  294. </td>
  295. </tr>
  296. <tr>
  297. <td><code>obj</code></td>
  298. <td><span class="param-type">Object</span></td>
  299. <td class="attributes"></td>
  300. <td class="last">
  301. <p>The first object of what could be many, test <code>markdown</code></p>
  302. </td>
  303. </tr>
  304. <tr>
  305. <td><code>objN</code></td>
  306. <td><span class="param-type">Object</span></td>
  307. <td class="attributes">&lt;optional&gt;<br/>&lt;repeatable&gt;<br/></td>
  308. <td class="last">
  309. <p>Any additional objects, test <code>markdown</code></p>
  310. </td>
  311. </tr>
  312. </tbody>
  313. </table>
  314. </div>
  315. <div class="callout callout-success"><h5>Returns</h5> <form class="form-horizontal returns">
  316. <div class="form-group">
  317. <label class="col-sm-3 control-label returns-type"><span class="param-type">Object</span></label>
  318. <div class="col-sm-9">
  319. <div class="form-control-static returns-description"><p>The combination of all the objects, test <code>markdown</code>.</p></div>
  320. </div>
  321. </div>
  322. </form>
  323. </div> <div class="callout callout-warning"><h5>Fires</h5> <form class="form-horizontal fires">
  324. <div class="form-group">
  325. <label class="col-sm-3 control-label fires-event"><a href="MyApi.Class.html#~event:test.my-api">"test.my-api"</a></label>
  326. <div class="col-sm-9">
  327. <div class="form-control-static fires-summary"><p>This is an event raised by this class, it's documentation appears on this page as the event is specified as an inner member the class by using the tilde (~) scope.</p></div>
  328. </div>
  329. </div>
  330. </form>
  331. </div> <div class="callout callout-danger"><h5>Throws</h5> <form class="form-horizontal exceptions">
  332. <div class="form-group">
  333. <label class="col-sm-3 control-label exceptions-type"><span class="param-type"><a href="CustomError.html">CustomError</a></span></label>
  334. <div class="col-sm-9">
  335. <div class="form-control-static exceptions-description"><p>This is thrown when some condition fails within this method.</p></div>
  336. </div>
  337. </div>
  338. </form>
  339. </div> <div class="callout callout-default"><h5>Details</h5> <form class="form-horizontal details">
  340. <!-- source -->
  341. <div class="form-group">
  342. <label class="col-sm-3 control-label">Source</label>
  343. <div class="col-sm-9">
  344. <p class="form-control-static"><a href="MyApi.js.html">MyApi.js</a>, <a href="MyApi.js.html#line-72">line 72</a></p>
  345. </div>
  346. </div>
  347. </form>
  348. </div> </div>
  349. </dd>
  350. <hr/>
  351. <dt class="symbol-title function public collapsible-symbol">
  352. <h4 id="anotherMethod" class="function public"><span class="name">anotherMethod</span><span class="signature-params">( <span class="signature-param">value</span>, <span class="signature-param">obj</span> [,&nbsp;<span class="signature-param">...objN</span>&nbsp;]&nbsp;)</span><span class="signature-type"> &rarr;&nbsp;{Object}</span></h4>
  353. <div class="summary"><p>This is a another test instance method of the MyApi test class, test <code>markdown</code>.</p></div></dt>
  354. <dd class="symbol-details function public collapsible-symbol">
  355. <div class="symbol-details-inner">
  356. <div class="callout callout-primary"><h5>Description</h5> <div class="description"><p>This method is overridden in the <a href="MyApi.Child.html">MyApi.Child</a> class and should remove the exception documentation as it no longer applies.</p></div>
  357. </div> <div class="callout callout-info">
  358. <h5>Parameters</h5>
  359. <table class="params table table-striped">
  360. <thead>
  361. <tr>
  362. <th>Name</th>
  363. <th>Type</th>
  364. <th>Attributes</th>
  365. <th class="last">Description</th>
  366. </tr>
  367. </thead>
  368. <tbody>
  369. <tr>
  370. <td><code>value</code></td>
  371. <td><span class="param-type">*</span></td>
  372. <td class="attributes"></td>
  373. <td class="last">
  374. <p>Any value, test <code>markdown</code></p>
  375. </td>
  376. </tr>
  377. <tr>
  378. <td><code>obj</code></td>
  379. <td><span class="param-type">Object</span></td>
  380. <td class="attributes"></td>
  381. <td class="last">
  382. <p>The first object of what could be many, test <code>markdown</code></p>
  383. </td>
  384. </tr>
  385. <tr>
  386. <td><code>objN</code></td>
  387. <td><span class="param-type">Object</span></td>
  388. <td class="attributes">&lt;optional&gt;<br/>&lt;repeatable&gt;<br/></td>
  389. <td class="last">
  390. <p>Any additional objects, test <code>markdown</code></p>
  391. </td>
  392. </tr>
  393. </tbody>
  394. </table>
  395. </div>
  396. <div class="callout callout-success"><h5>Returns</h5> <form class="form-horizontal returns">
  397. <div class="form-group">
  398. <label class="col-sm-3 control-label returns-type"><span class="param-type">Object</span></label>
  399. <div class="col-sm-9">
  400. <div class="form-control-static returns-description"><p>The combination of all the objects, test <code>markdown</code>.</p></div>
  401. </div>
  402. </div>
  403. </form>
  404. </div> <div class="callout callout-warning"><h5>Fires</h5> <form class="form-horizontal fires">
  405. <div class="form-group">
  406. <label class="col-sm-3 control-label fires-event"><a href="MyApi.Class.html#~event:another.my-api">"another.my-api"</a></label>
  407. <div class="col-sm-9">
  408. <div class="form-control-static fires-summary"><p>This is an event raised by this class, it's documentation appears on this page as the event is specified as an inner member the class by using the tilde (~) scope.</p></div>
  409. </div>
  410. </div>
  411. </form>
  412. </div> <div class="callout callout-danger"><h5>Throws</h5> <form class="form-horizontal exceptions">
  413. <div class="form-group">
  414. <label class="col-sm-3 control-label exceptions-type"><span class="param-type"><a href="CustomError.html">CustomError</a></span></label>
  415. <div class="col-sm-9">
  416. <div class="form-control-static exceptions-description"><p>This is thrown when some condition fails within this method.</p></div>
  417. </div>
  418. </div>
  419. </form>
  420. </div> <div class="callout callout-default"><h5>Details</h5> <form class="form-horizontal details">
  421. <!-- source -->
  422. <div class="form-group">
  423. <label class="col-sm-3 control-label">Source</label>
  424. <div class="col-sm-9">
  425. <p class="form-control-static"><a href="MyApi.js.html">MyApi.js</a>, <a href="MyApi.js.html#line-95">line 95</a></p>
  426. </div>
  427. </div>
  428. </form>
  429. </div> </div>
  430. </dd>
  431. </dl>
  432. <h3>Type Definitions</h3>
  433. <dl class="symbol">
  434. <hr/>
  435. <dt class="symbol-title typedef public collapsible-symbol">
  436. <h4 id="~Object" class="typedef public"><span class="name">Object</span></h4>
  437. <div class="summary"><p>This is a test type definition on the MyApi.Class class.</p></div></dt>
  438. <dd class="symbol-details typedef public collapsible-symbol">
  439. <div class="symbol-details-inner">
  440. <div class="callout callout-info">
  441. <h5>Properties</h5>
  442. <table class="params table table-striped">
  443. <thead>
  444. <tr>
  445. <th>Name</th>
  446. <th>Type</th>
  447. <th>Attributes</th>
  448. <th>Default</th>
  449. <th class="last">Description</th>
  450. </tr>
  451. </thead>
  452. <tbody>
  453. <tr>
  454. <td><code>name</code></td>
  455. <td><span class="param-type">string</span></td>
  456. <td class="attributes"></td>
  457. <td></td>
  458. <td class="last">
  459. <p>The name of the test object.</p>
  460. </td>
  461. </tr>
  462. <tr>
  463. <td><code>enabled</code></td>
  464. <td><span class="param-type">boolean</span></td>
  465. <td class="attributes">&lt;optional&gt;<br/></td>
  466. <td>false</td>
  467. <td class="last">
  468. <p>Whether or not the test object is enabled. Defaults to <code>false</code>.</p>
  469. </td>
  470. </tr>
  471. <tr>
  472. <td><code>sub</code></td>
  473. <td><span class="param-type">Object</span></td>
  474. <td class="attributes"></td>
  475. <td></td>
  476. <td class="last">
  477. <p>An object containing a subset of properties.</p>
  478. <table class="params table table-striped">
  479. <thead>
  480. <tr>
  481. <th>Name</th>
  482. <th>Type</th>
  483. <th>Attributes</th>
  484. <th>Default</th>
  485. <th class="last">Description</th>
  486. </tr>
  487. </thead>
  488. <tbody>
  489. <tr>
  490. <td><code>id</code></td>
  491. <td><span class="param-type">number</span></td>
  492. <td class="attributes"></td>
  493. <td></td>
  494. <td class="last">
  495. <p>The subset id.</p>
  496. </td>
  497. </tr>
  498. <tr>
  499. <td><code>name</code></td>
  500. <td><span class="param-type">boolean</span></td>
  501. <td class="attributes">&lt;optional&gt;<br/></td>
  502. <td>&quot;Sub Options&quot;</td>
  503. <td class="last">
  504. <p>The name of the sub object. Defaults to <code>&quot;Sub Options&quot;</code>.</p>
  505. </td>
  506. </tr>
  507. </tbody>
  508. </table>
  509. </td>
  510. </tr>
  511. </tbody>
  512. </table>
  513. </div>
  514. <div class="callout callout-default"><h5>Details</h5> <form class="form-horizontal details">
  515. <!-- type -->
  516. <div class="form-group">
  517. <label class="col-sm-3 control-label">Type</label>
  518. <div class="col-sm-9">
  519. <div class="form-control-static type-names"><span class="param-type">Object</span></div>
  520. </div>
  521. </div>
  522. <!-- source -->
  523. <div class="form-group">
  524. <label class="col-sm-3 control-label">Source</label>
  525. <div class="col-sm-9">
  526. <p class="form-control-static"><a href="MyApi.js.html">MyApi.js</a>, <a href="MyApi.js.html#line-117">line 117</a></p>
  527. </div>
  528. </div>
  529. </form>
  530. </div> </div>
  531. </dd>
  532. </dl>
  533. <h3>Events</h3>
  534. <dl class="symbol">
  535. <hr/>
  536. <dt class="symbol-title event public collapsible-symbol">
  537. <h4 id="~event:test.my-api" class="event public"><span class="name">"test.my-api"</span></h4>
  538. <div class="summary"><p>This is an event raised by this class, it's documentation appears on this page as the event is specified as an inner member the class by using the tilde (~) scope.</p></div></dt>
  539. <dd class="symbol-details event public collapsible-symbol">
  540. <div class="symbol-details-inner">
  541. <div class="callout callout-info">
  542. <h5>Parameters</h5>
  543. <table class="params table table-striped">
  544. <thead>
  545. <tr>
  546. <th>Name</th>
  547. <th>Type</th>
  548. <th class="last">Description</th>
  549. </tr>
  550. </thead>
  551. <tbody>
  552. <tr>
  553. <td><code>e</code></td>
  554. <td><span class="param-type">Event</span></td>
  555. <td class="last">
  556. <p>The event object.</p>
  557. </td>
  558. </tr>
  559. <tr>
  560. <td><code>custom</code></td>
  561. <td><span class="param-type">*</span></td>
  562. <td class="last">
  563. <p>Some custom parameter passed to any listeners.</p>
  564. </td>
  565. </tr>
  566. </tbody>
  567. </table>
  568. </div>
  569. <div class="callout callout-default"><h5>Details</h5> <form class="form-horizontal details">
  570. <!-- source -->
  571. <div class="form-group">
  572. <label class="col-sm-3 control-label">Source</label>
  573. <div class="col-sm-9">
  574. <p class="form-control-static"><a href="MyApi.js.html">MyApi.js</a>, <a href="MyApi.js.html#line-85">line 85</a></p>
  575. </div>
  576. </div>
  577. </form>
  578. </div> </div>
  579. </dd>
  580. <hr/>
  581. <dt class="symbol-title event public collapsible-symbol">
  582. <h4 id="~event:another.my-api" class="event public"><span class="name">"another.my-api"</span></h4>
  583. <div class="summary"><p>This is an event raised by this class, it's documentation appears on this page as the event is specified as an inner member the class by using the tilde (~) scope.</p></div></dt>
  584. <dd class="symbol-details event public collapsible-symbol">
  585. <div class="symbol-details-inner">
  586. <div class="callout callout-info">
  587. <h5>Parameters</h5>
  588. <table class="params table table-striped">
  589. <thead>
  590. <tr>
  591. <th>Name</th>
  592. <th>Type</th>
  593. <th class="last">Description</th>
  594. </tr>
  595. </thead>
  596. <tbody>
  597. <tr>
  598. <td><code>e</code></td>
  599. <td><span class="param-type">Event</span></td>
  600. <td class="last">
  601. <p>The event object.</p>
  602. </td>
  603. </tr>
  604. <tr>
  605. <td><code>custom</code></td>
  606. <td><span class="param-type">*</span></td>
  607. <td class="last">
  608. <p>Some custom parameter passed to any listeners.</p>
  609. </td>
  610. </tr>
  611. </tbody>
  612. </table>
  613. </div>
  614. <div class="callout callout-default"><h5>Details</h5> <form class="form-horizontal details">
  615. <!-- source -->
  616. <div class="form-group">
  617. <label class="col-sm-3 control-label">Source</label>
  618. <div class="col-sm-9">
  619. <p class="form-control-static"><a href="MyApi.js.html">MyApi.js</a>, <a href="MyApi.js.html#line-108">line 108</a></p>
  620. </div>
  621. </div>
  622. </form>
  623. </div> </div>
  624. </dd>
  625. </dl>
  626. </article>
  627. </section>
  628. </div>
  629. <div class="col-md-3 side-content">
  630. <nav class="toc hidden-print hidden-sm hidden-xs"></nav>
  631. </div>
  632. </div>
  633. </div>
  634. <footer>
  635. <div class="copyright">FooDoc Copyright © 2016 The contributors to the JSDoc3 and FooDoc projects.</div>
  636. <div class="generated-by">Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on 1st May 2018 using the <a href="https://github.com/steveush/foodoc">FooDoc template</a>.</div>
  637. </footer>
  638. <script src="js/jquery.min.js"></script>
  639. <script src="js/bootstrap.min.js"></script>
  640. <script src="js/clipboard.min.js"></script>
  641. <script src="js/prism.min.js"></script>
  642. <script src="js/template.min.js"></script>
  643. <!-- start:lunr-search-modal.hbs -->
  644. <div class="modal fade" id="lunr-search-modal">
  645. <div class="modal-dialog">
  646. <div class="modal-content">
  647. <div class="modal-header">
  648. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  649. <h4 class="modal-title">Search results</h4>
  650. </div>
  651. <div class="modal-body" id="lunr-search-body">
  652. </div>
  653. <div class="modal-footer" id="lunr-search-footer">
  654. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  655. </div>
  656. </div><!-- /.modal-content -->
  657. </div><!-- /.modal-dialog -->
  658. </div>
  659. <!-- end:lunr-search-modal.hbs --> <script src="js/lunr.min.js"></script>
  660. </body>
  661. </html>