Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hel-developer-guide
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hel-guide
hel-developer-guide
Commits
14998c34
Commit
14998c34
authored
Aug 02, 2017
by
高洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates common-window-javascript.md
Auto commit by GitBook Editor
parent
eda62877
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
common-window-javascript.md
common-window-javascript.md
+8
-2
No files found.
common-window-javascript.md
View file @
14998c34
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
####打开功能窗口
####打开功能窗口
>Hel.openMenuWindow(opts);
>Hel.openMenuWindow(opts);
其中参数为:
其中参数为:
属性名 | 类型 | 含义
属性名 | 类型 | 含义
-------- | ----- | -----
-------- | ----- | -----
menuCode | String(必填) | 菜单代码
menuCode | String(必填) | 菜单代码
...
@@ -29,6 +29,7 @@ Hel.openMenuWindow({
...
@@ -29,6 +29,7 @@ Hel.openMenuWindow({
####关闭功能窗口
####关闭功能窗口
>Hel.closeMenuWindow(opts);
>Hel.closeMenuWindow(opts);
其中参数为:
其中参数为:
属性名 | 类型 | 含义
属性名 | 类型 | 含义
-------- | ----- | -----
-------- | ----- | -----
menuCode | String(必填) | 菜单代码
menuCode | String(必填) | 菜单代码
...
@@ -41,7 +42,12 @@ Hel.closeMenuWindow({
...
@@ -41,7 +42,12 @@ Hel.closeMenuWindow({
####打开右弹窗口
####打开右弹窗口
>Hel.openBarWindow(opts);
>Hel.openBarWindow(opts);
其中参数为:
其中参数为:
opts.id 打开窗口的div的id,opts.content 窗口的url地址,opts.size右弹窗口的宽度,可以为THIRD(三分之一),HALF(一半),FULL(全屏),也可以为任意像素宽度。
属性名 | 类型 | 含义
-------- | ----- | -----
id| String(必填) | 打开窗口的div的id
url| String(必填) | 窗口的url地址
size| String(必填) | 右弹窗口的宽度(THIRD/HALF/FULL/任意px像素)
```
```
<div id="win"></div>
<div id="win"></div>
<script><![CDATA[
<script><![CDATA[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment