Documentation

This commit is contained in:
squidfunk 2023-10-16 18:35:09 +02:00
parent 6a9b685405
commit f6fd27240c
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF

View File

@ -54,7 +54,7 @@ extra_javascript:
- javascripts/extra.js - javascripts/extra.js
``` ```
!!! tip "Make sure the page is fully loaded" ??? tip "How to integrate with third-party JavaScript libraries"
It is likely that you will want to run your JavaScript code only It is likely that you will want to run your JavaScript code only
once the page has been fully loaded by the browser. This means once the page has been fully loaded by the browser. This means
@ -74,8 +74,8 @@ extra_javascript:
`document$` is an [RxJS Observable] and you can call the `subscribe()` `document$` is an [RxJS Observable] and you can call the `subscribe()`
method any number of times to attach different functionality. method any number of times to attach different functionality.
[instant loading]: setup/setting-up-navigation.md/#instant-loading [instant loading]: setup/setting-up-navigation.md/#instant-loading
[RxJS Observable]: https://rxjs.dev/api/index/class/Observable [RxJS Observable]: https://rxjs.dev/api/index/class/Observable
## Extending the theme ## Extending the theme