Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
JavaDevTeam
notes
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
notes
/
Extjs
/
组件-Panel.js
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
72 lines (66 loc) · 1.54 KB
master
Breadcrumbs
notes
/
Extjs
/
组件-Panel.js
Copy path
Top
File metadata and controls
Code
Blame
72 lines (66 loc) · 1.54 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
--
--
--
--
--
--
--
--
--
--
--
--
-
Panel
|
--
--
--
--
--
--
--
--
--
--
--
--
-
#
容器组件
#
构建
var
panel
=
new
Ext
.
Panel
(
{
}
)
;
--
--
--
--
--
--
--
--
--
--
--
--
-
属性
|
--
--
--
--
--
--
--
--
--
--
--
--
-
autoLoad
*
有效的URL
,
其实就是加载远程HTML页面
*
仅仅加载
<
body
>
<
body
/>
中的数据
autoScroll
*
如果该值为
true
那么内容溢出
,
则显示滚动条
.
默认为
false
autoShow
*
如果该值为
true
,
那么显示设为
"x-hidden"
的元素
,
默认为
false
bbar
*
底部条
,
显示在主体内
*
该值可以是一个数组
[
{
text
:
"摁钮1"
}
,
{
text
:
"摁钮2"
}
]
*
该值也可以是Ext
.
toobar
[
new
Ext
.
Toolbar
.
Button
(
{
text
:
"摁钮"
,
handler
:
function
(
)
{
Ext
.
MessageBox
.
alert
(
"提示"
,
"点击了一个摁钮"
)
;
}
}
)
]
,
tbar
*
顶部条
,
显示在主体内
*
该值可以是一个数组
[
{
text
:
"摁钮1"
}
,
{
text
:
"摁钮2"
}
]
*
该值也可以是Ext
.
toobar
[
new
Ext
.
Toolbar
.
Button
(
{
text
:
"摁钮"
,
handler
:
function
(
)
{
Ext
.
MessageBox
.
alert
(
"提示"
,
"点击了一个摁钮"
)
;
}
}
)
]
,
buttons
*
摁钮集合
,
自动添加到footer
,
footer显示在主体外
buttonAlign
*
footer中摁钮的位置
,
枚举
:
left
,
rigth
,
center
collapsible
*
如果该值为
true
,
则显示最小化摁钮
,
默认
false
draggable
*
如果该值为
true
,
则可以拖动
,
默认为
false
html
*
主体内容
id
*
该组件的ID值
,
可以通过ID找到这个组件
width
*
宽度
heigth
*
高度
title
*
标题
titleCollapse
*
如果该值为
true
,
则点击标题的任何地方
,
都可以最小化
.
默认为
false
applyTo
*
呈现在哪个HTML元素里面
(
ID值
)
renderTo
*
呈现在哪个HTML元素里面
(
ID值
)
,
跟上面哥们儿一样
contentEl
*
呈现哪个HTML元素里面
(
ID值
)
,
把EL内的内容呈现
*
别瞎
,
这个属性
,
代表的是
:
'当前panel,内的内容,是来自于哪个组件(id值)'
You can’t perform that action at this time.