parent
5a39449a15
commit
353f4812a5
@ -0,0 +1,17 @@ |
||||
'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 |
Loading…
Reference in new issue