我正在使用 jquery 终端在我的项目中运行命令,因为我想让它的屏幕可调,我无法做到这一点,有人可以帮助我吗?
问问题
297 次
1 回答
1
您可以在 jQuery UI 对话框中创建jQuery 终端,或者使用 jQuery UI 调整大小
<div class="wrapper">
<div class="term"></div>
</div>
$('.wrapper').resizable();
$('.term').terminal();
.wrapper {
width: 400px;
height: 200px;
}
.term {
height: 100%;
}
于 2017-09-15T17:28:38.630 回答