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
0
Merge Requests
0
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
Spencer Chang
hel-developer-guide
Commits
59b96f9b
Commit
59b96f9b
authored
Sep 15, 2017
by
刘鹏程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update common-mask-javascript.md
parent
bc9a0a2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
common-mask-javascript.md
common-mask-javascript.md
+4
-4
No files found.
common-mask-javascript.md
View file @
59b96f9b
### 锁屏和解屏
### 锁屏和解屏
#### 锁屏
#### 锁屏
>H
el
.mask(opts);
>H
ls
.mask(opts);
其中参数为:
其中参数为:
属性名 | 类型 | 含义
属性名 | 类型 | 含义
-------- | ----- | -----
-------- | ----- | -----
id| String(选填) | 当前窗口的id,缺省值为body
id| String(选填) | 当前窗口的id,缺省值为body
```
```
H
el
.mask(); //缺省值为body
H
ls
.mask(); //缺省值为body
H
el
.mask({
H
ls
.mask({
id:'',//传入相应的参数
id:'',//传入相应的参数
});
});
```
```
...
@@ -17,6 +17,6 @@ Hel.mask({
...
@@ -17,6 +17,6 @@ Hel.mask({
```
```
H
el
.unmask();
H
ls
.unmask();
```
```
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