Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Prevent updates for all user input #2377
Is there a way to prevent updates for all user input? I'm using riot in a complex editable div, and the updates reset user text with every key and every mouse button. Currently, all my components end up needing something like this:
which get's really ugly. I do all my updates at specific points in the code anyway, so it would be a lot easier for me to just turn off all updates triggered by user input. Is there a way to do this?