kotlinx.html icon indicating copy to clipboard operation
kotlinx.html copied to clipboard

Allow adding custom event listeners.

Open eiswind opened this issue 6 years ago • 0 comments
trafficstars

In JSDOMBuilder event listeners get added by setEvent.

else -> path.last().setEvent(event, value)

In case of a vaadin-text-field, that needs a custom 'change' event however this does not work. It does work when I add the listener like

else -> path.last().addEventListener(event, value)

Is there a chance to add a method like this in JSDOMBuilder/TagConsumer?

eiswind avatar May 25 '19 11:05 eiswind