UNPKG

remix-ide

Version:

Minimalistic browser-based Solidity IDE

18 lines (13 loc) 454 B
'use strict' 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