mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-22 12:45:50 +00:00
Update content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md
Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
@@ -252,7 +252,7 @@ This preloader script is used to expose functions to the browsers window object
|
||||
|
||||
In the browser, `window.electronAPI.onUpdateLedgerIndex(callback)` can now be used tp pass a callback function via `ipcRenderer.on('eventName', callback)` that will be triggered by `appWindow.webContents.send('eventName', value)`.
|
||||
|
||||
4. Now, in `view/template.html`, modify the line responsible for displaying the static text "Hello world!" to contain a placeholder for the ledger:index:
|
||||
4. Now, in `view/template.html`, replace the body in order to show a placeholder for the ledger index instead of "Hello world!"
|
||||
|
||||
```html
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user