mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-04-03 10:22:40 +00:00
Make console automagically scroll to bottom
This commit is contained in:
parent
f384826200
commit
a9488cd504
@ -1,4 +1,9 @@
|
|||||||
<!-- Copyright (C) 2018 Avatao.com Innovative Learning Kft.
|
<!-- Copyright (C) 2018 Avatao.com Innovative Learning Kft.
|
||||||
All Rights Reserved. See LICENSE file for details. -->
|
All Rights Reserved. See LICENSE file for details. -->
|
||||||
|
|
||||||
<textarea [(ngModel)]="console_content" class="tfw-console" spellcheck="false"></textarea>
|
<textarea [(ngModel)]="console_content"
|
||||||
|
#tfwconsole
|
||||||
|
[scrollTop]="tfwconsole.scrollHeight"
|
||||||
|
class="tfw-console"
|
||||||
|
spellcheck="false">
|
||||||
|
</textarea>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user