Open sbinet opened 8 years ago
https://elements.polymer-project.org/elements/iron-list or just a readonly textarea: http://www.w3schools.com/tags/tag_textarea.asp
readonly
textarea
or, alternatively:
<div id="command-log" style="height: 150px; overflow: scroll"></div>
together with:
var node = doc.getElementByID("command-log"); node.innerHTML += "<br>other data"; node.scrollTop = node.scrollHeight;
https://elements.polymer-project.org/elements/iron-list or just a
readonly
textarea
: http://www.w3schools.com/tags/tag_textarea.aspor, alternatively:
together with: