Skip to content
This repository has been archived by the owner on Oct 9, 2022. It is now read-only.

Commit

Permalink
Update dom.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Apr 26, 2020
1 parent 6115191 commit b753fe4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dom.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,10 @@ Kweb can also read from the DOM, in this case the value of an <input> element:

.. code-block:: kotlin
import kweb.*
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.future.await
import kotlinx.coroutines.launch
import kweb.InputElement
import kweb.Kweb
import kweb.input
import kweb.new
fun main() {
Kweb(port = 2395) {
Expand Down

0 comments on commit b753fe4

Please sign in to comment.