You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 10, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-30Lines changed: 4 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,13 +31,16 @@ Kweb is designed to make it easy for developers to create modern websites withou
31
31
32
32
Kweb is a remote interface for a web browser's DOM (Document Object Model). With Kweb, you can create and manipulate DOM elements, and listen for and handle events, all using an intuitive Kotlin DSL that mirrors the structure of the HTML being created. Kweb is built on the Ktor framework, which handles HTTP, HTTPS, and WebSocket transport, and is optimized to minimize latency and resource usage on both the server and browser.
33
33
34
+
## Note on Memory Leak Issue
35
+
36
+
We have identified a memory leak issue that may affect users when using the `InputElement` class, we're working on a [fix](https://github.com/kwebio/kweb-core/pull/611). We recommend that you run a memory profiler to see if you're affected.
37
+
34
38
## Example
35
39
36
40
```kotlin
37
41
importkweb.*
38
42
importkweb.InputType.text
39
43
40
-
41
44
funmain() {
42
45
Kweb(port =16097) {
43
46
doc.body {
@@ -52,32 +55,3 @@ fun main() {
52
55
}
53
56
}
54
57
}
55
-
```
56
-
57
-
This example illustrates [creating DOM elements](https://docs.kweb.io/book/dom.html#creating-dom-elements-and-fragments),
0 commit comments