- <div id="win" class="easyui-window" title="My Window" closed="true" style="width:300px;height:100px;padding:5px;">
- Some Content.
- </div>
- $('#win').window('open') //打开window
- $('#win').window('close') //关闭window
- $('#win').window('center') //window居中
本文介绍如何使用 EasyUI 的 Window 控件进行基本的操作,包括打开、关闭及居中显示等。EasyUI 是一个基于 jQuery 的简化界面库,Window 控件是其核心组件之一。
- <div id="win" class="easyui-window" title="My Window" closed="true" style="width:300px;height:100px;padding:5px;">
- Some Content.
- </div>
- $('#win').window('open') //打开window
- $('#win').window('close') //关闭window
- $('#win').window('center') //window居中

被折叠的 条评论
为什么被折叠?
