Code carried out each time the user changes the text in an editable tag.
The input tag, and tags with editable=true.
<tweet:input onInput=<count | sub 140, tweet.#>> updates a character count as the user types.A code field: holds code to be carried out each time the event happens. Add code after the tag is created with .push.
The tag's primary field already holds the changed text when the code runs.
Code that runs on every keystroke can make the console's busy state flicker. Print <console.busy false> to turn it off.