Skip to content

Commit a00fe23

Browse files
committed
Fix navigate comment
1 parent 83f281f commit a00fe23

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/webui.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,11 @@ export class WebUI {
629629
/**
630630
* Navigate to a specific URL.
631631
*
632-
* @param url - The URL to navigate to.
632+
* @param {string} url - The URL to navigate to.
633+
* @example
634+
* ```ts
635+
* myWindow.navigate("https://webui.me");
636+
* ```
633637
*/
634638
navigate(url: string): void {
635639
this.#lib.symbols.webui_navigate(BigInt(this.#window), toCString(url));

0 commit comments

Comments
 (0)