Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app
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
hel-guide
app
Commits
18481958
Commit
18481958
authored
Sep 07, 2017
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates angular/hlsPopup.md
Auto commit by GitBook Editor
parent
fbcceb38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
hlsPopup.md
angular/hlsPopup.md
+2
-0
No files found.
angular/hlsPopup.md
View file @
18481958
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
APP开发经常会安功能需求弹出各种提示框,此工具类封装了大部分提提示框,需在
`controller`
中注入
`hlsPopup`
服务。
APP开发经常会安功能需求弹出各种提示框,此工具类封装了大部分提提示框,需在
`controller`
中注入
`hlsPopup`
服务。
##### 一、 弹出等待框`showLoading`
##### 一、 弹出等待框`showLoading`
-
一般用于后台处理数据时调用(锁屏),此方法需要手动解屏。调用实例如下
-
一般用于后台处理数据时调用(锁屏),此方法需要手动解屏。调用实例如下
```
javascript
```
javascript
function
showLoading
(){
function
showLoading
(){
hlsPopup
.
showLoading
(
'请等待'
);
hlsPopup
.
showLoading
(
'请等待'
);
...
@@ -13,6 +14,7 @@ APP开发经常会安功能需求弹出各种提示框,此工具类封装了
...
@@ -13,6 +14,7 @@ APP开发经常会安功能需求弹出各种提示框,此工具类封装了
#### 二、长时间底部提示框 `
showLongCenterToast
`
#### 二、长时间底部提示框 `
showLongCenterToast
`
- 一般用于提示用户字段合法性,或保存提交成功的提示等其他业务场景,代码试下如下
- 一般用于提示用户字段合法性,或保存提交成功的提示等其他业务场景,代码试下如下
```
javascript
```
javascript
function showLongCenterToast(){
function showLongCenterToast(){
hlsPopup.showLongCenterToast('请输入密码!');
hlsPopup.showLongCenterToast('请输入密码!');
...
...
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