Move handling textChanged to separate macrotask

This commit is contained in:
Bálint Bokros
2018-02-15 11:19:04 +01:00
parent b6f4c870b6
commit 882899ee9c
2 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,7 @@
</button>
</div>
<div (textChanged)="saveButtonState = 'DIRTY'"
<div (textChanged)="setButtonStateDirty()"
ace-editor
[(text)]="code"
[(mode)]="language"