Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mui
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
mui
Commits
03f02d8f
Commit
03f02d8f
authored
Jun 11, 2015
by
hbcui1984
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hello mui:父模板webview隐藏动画结束后,再隐藏子webview
parent
029e5f44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
examples/hello-mui/examples/template.html
examples/hello-mui/examples/template.html
+9
-8
No files found.
examples/hello-mui/examples/template.html
View file @
03f02d8f
...
@@ -83,14 +83,15 @@
...
@@ -83,14 +83,15 @@
var
contentWebview
=
null
;
var
contentWebview
=
null
;
mui
.
back
=
function
()
{
mui
.
back
=
function
()
{
var
current
=
plus
.
webview
.
currentWebview
();
var
current
=
plus
.
webview
.
currentWebview
();
current
.
hide
(
'
auto
'
);
current
.
hide
(
'
auto
'
,
function
()
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
document
.
getElementById
(
"
title
"
).
className
=
'
mui-title mui-fadeout
'
;
document
.
getElementById
(
"
title
"
).
className
=
'
mui-title mui-fadeout
'
;
if
(
contentWebview
==
null
){
if
(
contentWebview
==
null
){
contentWebview
=
current
.
children
()[
0
];
contentWebview
=
current
.
children
()[
0
];
}
}
contentWebview
.
hide
(
"
none
"
);
contentWebview
.
hide
(
"
none
"
);
},
200
);
},
200
);
});
}
}
var
titleElem
=
document
.
getElementById
(
"
title
"
)
var
titleElem
=
document
.
getElementById
(
"
title
"
)
...
...
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