Skip to content

Commit 46cb555

Browse files
committed
docs: update readme, use new webui function api in example
1 parent 30628f6 commit 46cb555

1 file changed

Lines changed: 18 additions & 17 deletions

File tree

README.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,11 @@
5151

5252
## Features
5353

54-
- Fully Independent (*No need for any third-party runtimes*)
55-
- Lightweight (*~900 Kb*) & Small memory footprint
56-
- Fast binary communication protocol between WebUI and the browser (*Instead of JSON*)
54+
- Parent library written in pure C
55+
- Fully Independent (No need for any third-party runtimes)
56+
- Lightweight ~200 Kb & Small memory footprint
57+
- Fast binary communication protocol between WebUI and the browser (Instead of JSON)
58+
- One header file
5759
- Multi-platform & Multi-Browser
5860
- Using private profile for safety
5961

@@ -103,7 +105,7 @@ const html = '<!DOCTYPE html>
103105
</head>
104106
<body>
105107
<h1>Thanks for using WebUI!</h1>
106-
<button onclick="webui.call(\'my_v_func\')">Call V!</button>
108+
<button onclick="webui.my_v_func()">Call V!</button>
107109
</body>
108110
</html>'
109111
@@ -127,7 +129,6 @@ Find more examples in the [`examples/`](https://github.com/webui-dev/v-webui/tre
127129
> **Note**
128130
> Until our Online Documentation is finished, you can referrer to [`src/lib.v`](https://github.com/webui-dev/v-webui/tree/main/src/lib.v) or use V's builtin `v doc -comments vwebui.src` for the latest overview of exported and commented functions.
129131
130-
131132
- To use WebUI's debug build in your V-WebUI application, add the `-d webui_log` flag. E.g.:
132133

133134
```sh
@@ -142,18 +143,18 @@ Find more examples in the [`examples/`](https://github.com/webui-dev/v-webui/tre
142143

143144
## Supported Web Browsers
144145

145-
| Browser | Windows | macOS | Linux |
146-
| ------ | ------ | ------ | ------ |
147-
| Mozilla Firefox | ✔️ | ✔️ | ✔️ |
148-
| Google Chrome | ✔️ | ✔️ | ✔️ |
149-
| Microsoft Edge | ✔️ | ✔️ | ✔️ |
150-
| Chromium | ✔️ | ✔️ | ✔️ |
151-
| Yandex | ✔️ | ✔️ | ✔️ |
152-
| Brave | ✔️ | ✔️ | ✔️ |
153-
| Vivaldi | ✔️ | ✔️ | ✔️ |
154-
| Epic | ✔️ | ✔️ | *not available* |
155-
| Apple Safari | *not available* | *coming soon* | *not available* |
156-
| Opera | *coming soon* | *coming soon* | *coming soon* |
146+
| Browser | Windows | macOS | Linux |
147+
| --------------- | --------------- | ------------- | --------------- |
148+
| Mozilla Firefox | ✔️ | ✔️ | ✔️ |
149+
| Google Chrome | ✔️ | ✔️ | ✔️ |
150+
| Microsoft Edge | ✔️ | ✔️ | ✔️ |
151+
| Chromium | ✔️ | ✔️ | ✔️ |
152+
| Yandex | ✔️ | ✔️ | ✔️ |
153+
| Brave | ✔️ | ✔️ | ✔️ |
154+
| Vivaldi | ✔️ | ✔️ | ✔️ |
155+
| Epic | ✔️ | ✔️ | _not available_ |
156+
| Apple Safari | _not available_ | _coming soon_ | _not available_ |
157+
| Opera | _coming soon_ | _coming soon_ | _coming soon_ |
157158

158159
### License
159160

0 commit comments

Comments
 (0)