Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Releases: kwebio/kweb-core

Add support for KVar.property() - still requires documentation

25 May 17:21
Compare
Choose a tag to compare
0.4.14

upgrade ktor, bump version

Update to ktor 1.2.0

24 May 21:58
Compare
Choose a tag to compare
Update to ktor 1.2.0 Pre-release
Pre-release
0.4.13

upgrade ktor, bump version

Minor ergonomic improvements

20 May 13:41
Compare
Choose a tag to compare
Pre-release
0.4.12

bump build

Really fix typo

21 Apr 21:42
Compare
Choose a tag to compare
Really fix typo Pre-release
Pre-release
0.4.11

fix typo in fomantic plugin

Fix issue with incorrect fomantic links in header

20 Apr 06:22
Compare
Choose a tag to compare
0.4.10

attempt  to fix #54

Connect a KVar to an <input> value

12 Apr 16:35
Compare
Choose a tag to compare
Pre-release

You can now connect a KVar to the value of an InputElement and it will update automatically when the element is edited by the user in-browser:

    Kweb(port = 1245) {
        doc.body.new {
            val i1 = input(placeholder = "Type here")
            val i2 = input(placeholder = "Or here")

            val commonString = KVar("")

            i1.value = commonString
            i2.value = commonString

           // The contents of each text box can be edited and will stay in sync.
        }
    }

For more information see Binding a KVar to an InputElement value.

Efficient bidirectional kvar binding to InputElement value

12 Apr 04:55
Compare
Choose a tag to compare

You can now connect a KVar to the value of an InputElement and it will update automatically when the element is edited.

    Kweb(port = 1245) {
        doc.body.new {
            val i1 = input(placeholder = "Type here")

            val i2 = input(placeholder = "Or here")

            val commonString = KVar("")

            i1.setValue(commonString)
            i2.setValue(commonString)
        }
    }

Correct typo in API

09 Apr 22:02
Compare
Choose a tag to compare
Correct typo in API Pre-release
Pre-release
0.4.6

neglected to rename this, need to bump version

Switch from Semantic UI to it's Fomantic UI fork

06 Apr 01:39
Compare
Choose a tag to compare

Sadly it appears that Semantic UI is no-longer maintained, but fortunately there is a community fork called Fomantic UI which is a maintained drop-in replacement.

The only API change is that references to "Semantic" have been changed to "Fomantic".

For more information see the user manual.

Add notFound {} to route {} blocks

28 Mar 04:04
Compare
Choose a tag to compare
Pre-release
0.4.4

notFound {} functionality in route {}