Tab.html 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Tab - Three.js Docs</title>
  6. <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
  7. <script src="../scripts/highlight.min.js"></script>
  8. <link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
  9. <link type="text/css" rel="stylesheet" href="../styles/page.css">
  10. </head>
  11. <body>
  12. <h1 translate="no">Tab</h1>
  13. <section>
  14. <header>
  15. <div class="class-description"><p>Tab class</p></div>
  16. </header>
  17. <article>
  18. <div class="container-overview">
  19. <h2>Constructor</h2>
  20. <h3 class="name name-method" id="Tab" translate="no">new <a href="#Tab">Tab</a><span class="signature">( title : <span class="param-type">string</span>, options : <span class="param-type">Object</span> )</span> </h3>
  21. <div class="method">
  22. <table class="params">
  23. <tbody>
  24. <tr>
  25. <td class="name">
  26. <strong>title</strong>
  27. </td>
  28. <td class="description last">
  29. <p>The title of the tab</p>
  30. </td>
  31. </tr>
  32. <tr>
  33. <td class="name">
  34. <strong>options</strong>
  35. </td>
  36. <td class="description last">
  37. <p>Options for the tab</p>
  38. <table class="params">
  39. <tbody>
  40. <tr>
  41. <td class="name">
  42. <strong>allowDetach</strong>
  43. </td>
  44. <td class="description last">
  45. <p>Whether the tab can be detached into a separate window</p>
  46. <p>Default is <code>true</code>.</p>
  47. </td>
  48. </tr>
  49. <tr>
  50. <td class="name">
  51. <strong>builtin</strong>
  52. </td>
  53. <td class="description last">
  54. <p>Whether the tab should appear in the profiler-toggle button</p>
  55. <p>Default is <code>false</code>.</p>
  56. </td>
  57. </tr>
  58. <tr>
  59. <td class="name">
  60. <strong>icon</strong>
  61. </td>
  62. <td class="description last">
  63. <p>SVG icon HTML for the builtin button</p>
  64. </td>
  65. </tr>
  66. </tbody>
  67. </table>
  68. </td>
  69. </tr>
  70. </tbody>
  71. </table>
  72. </div>
  73. </div>
  74. <h2 class="subsection-title">Classes</h2>
  75. <dl>
  76. <dt><a href="Tab.html">Tab</a></dt>
  77. <dd></dd>
  78. </dl>
  79. <h2 class="subsection-title">Source</h2>
  80. <p>
  81. <a href="https://github.com/mrdoob/three.js/blob/master/examples/jsm/inspector/ui/Tab.js" translate="no" target="_blank" rel="noopener">examples/jsm/inspector/ui/Tab.js</a>
  82. </p>
  83. </article>
  84. </section>
  85. <script src="../scripts/linenumber.js"></script>
  86. <script src="../scripts/page.js"></script>
  87. </body>
  88. </html>
粤ICP备19079148号