/docs/api.html

https://github.com/thysultan/dio.js · HTML · 92 lines · 87 code · 5 blank · 0 comment · 0 complexity · ca6b7a9e11acfb9da33b21d8b270dd41 MD5 · raw file

  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset=utf-8>
  5. <meta http-equiv=X-UA-Compatible content=IE=edge>
  6. <meta name=viewport content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  7. <title>Dyo - A JavaScript library for building user interfaces</title>
  8. <link rel=stylesheet href=assets/stylesheet/index.css>
  9. <link rel=icon type=image/png href=assets/images/favicon-large.png sizes=32x32>
  10. <link rel=icon type=image/png href=assets/images/favicon-small.png sizes=16x16>
  11. <script defer src=./assets/javascript/index.js></script>
  12. </head>
  13. <body>
  14. <a href=./ title=index class=logo>
  15. <img src=assets/images/logo.svg alt=logo>
  16. </a>
  17. <header>
  18. <nav>
  19. <a href=./>Index</a>
  20. <a href=./introduction.html>Introduction</a>
  21. <a href=./advanced.html>Advanced</a>
  22. <a href=./api.html>API</a>
  23. <a href=./examples.html>Examples</a>
  24. <a href=https://github.com/dyo/dyo>GitHub</a>
  25. </nav>
  26. </header>
  27. <article>
  28. <h1>API</h1>
  29. <h1>Table of Contents</h1>
  30. <nav>
  31. <ol>
  32. <li>
  33. <a href=element.html>Element</a>
  34. <ol>
  35. <li><a href=element.html#type>type</a></li>
  36. <li><a href=element.html#props>props</a></li>
  37. <li><a href=element.html#children>children</a></li>
  38. </ol>
  39. </li>
  40. <li>
  41. <a href=component.html>Component</a>
  42. <ol>
  43. <li><a href=component.html#function>function</a></li>
  44. <li><a href=component.html#async-function>async function</a></li>
  45. <li><a href=component.html#generator>generator</a></li>
  46. <li><a href=component.html#element>element</a></li>
  47. <li><a href=component.html#props>props</a></li>
  48. <li><a href=component.html#state-lifecycle>state &amp; lifecycle</a></li>
  49. </ol>
  50. </li>
  51. <li>
  52. <a href=top-level.html>Top-Level API</a>
  53. <ol>
  54. <li><a href=top-level.html#render>render</a></li>
  55. <li><a href=top-level.html#createElement>createElement</a></li>
  56. <li><a href=top-level.html#cloneElement>cloneElement</a></li>
  57. <li><a href=top-level.html#isValidElement>isValidElement</a></li>
  58. <li><a href=top-level.html#Children>Children</a></li>
  59. <li><a href=top-level.html#Fragment>Fragment</a></li>
  60. <li><a href=top-level.html#Portal>Portal</a></li>
  61. <li><a href=top-level.html#Context>Context</a></li>
  62. <li><a href=top-level.html#Boundary>Boundary</a></li>
  63. <li><a href=top-level.html#Suspense>Suspense</a></li>
  64. <li><a href=top-level.html#lazy>lazy</a></li>
  65. <li><a href=top-level.html#memo>memo</a></li>
  66. </ol>
  67. </li>
  68. <li>
  69. <a href="hooks.html">Hooks API</a>
  70. <ol>
  71. <li><a href=hooks.html#useState>useState</a></li>
  72. <li><a href=hooks.html#useReducer>useReducer</a></li>
  73. <li><a href=hooks.html#useContext>useContext</a></li>
  74. <li><a href=hooks.html#useResource>useResource</a></li>
  75. <li><a href=hooks.html#useEffect>useEffect</a></li>
  76. <li><a href=hooks.html#useLayout>useLayout</a></li>
  77. <li><a href=hooks.html#useRef>useRef</a></li>
  78. <li><a href=hooks.html#useMemo>useMemo</a></li>
  79. <li><a href=hooks.html#useCallback>useCallback</a></li>
  80. <li><a href=hooks.html#useResource>useResource</a></li>
  81. </ol>
  82. </li>
  83. </ol>
  84. </nav>
  85. </article>
  86. </body>
  87. </html>