Last active
November 30, 2017 23:51
-
-
Save obuchtala/9ec253b95f26c88b3cc98417c3bfed1b to your computer and use it in GitHub Desktop.
How the search field of typedoc generated documentation works
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <style type="text/css"> | |
| #tsd-search > ul > .current { | |
| background: red; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="tsd-search"> | |
| <div class="field"> | |
| <input id="tsd-search-field" type="text" /> | |
| </div> | |
| <ul class="results"></ul> | |
| </div> | |
| <script type="text/javascript" src="./build/api/assets/js/main.js"></script> | |
| <script type="text/javascript" src="./build/api/assets/js/search.js"></script> | |
| </body> | |
| </html> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
typedocto generate api docs into 'build/api'search.jsmain.js