onType

fun <S : Text> S.onType(func: S.(String) -> Unit): S

Add a listener for changes to the given String-type property.

In PolyUI, this is for Text and TextInput only.

Since

1.0.6