Skip to content

Instantly share code, notes, and snippets.

@Kukks
Kukks / app.html
Last active May 2, 2018 07:50 — forked from 3cp/app.html
input event trigger
<template>
<input value.bind="message">
<br>
<p>Message: ${message}</p>
<button click.trigger="tryChange()">jQuery('input')[0].val('test').trigger('change')</button>
<button click.trigger="tryInput()">jQuery('input').val('test2').trigger('input')</button>
</template>