remix-ide
Version:
Extendable Web IDE for Ethereum
18 lines (13 loc) • 436 B
JavaScript
var DropdownPanel = require('./DropdownPanel')
var yo = require('yo-yo')
function StackPanel () {
this.basicPanel = new DropdownPanel('Stack', {json: true, displayContentOnly: false})
}
StackPanel.prototype.update = function (calldata) {
this.basicPanel.update(calldata)
}
StackPanel.prototype.render = function () {
return yo`<div id="stackpanel">${this.basicPanel.render()}</div>`
}
module.exports = StackPanel