Commit a84df93a authored by Jidong Chen's avatar Jidong Chen

Demo "animated"

parent d4fd4eda
......@@ -136,8 +136,12 @@
exts:(NSDictionary *)exts
completion:(void (^)(BOOL))completion
{
BOOL animated = YES;
if([exts[@"animated"] boolValue]){
animated = [exts[@"animated"] boolValue];
}
[self.platform closePage:uid
animated:[exts[@"animated"] boolValue]
animated:animated
params:exts[@"params"]
completion:completion];
}
......@@ -148,9 +152,14 @@
reult:(void (^)(NSDictionary *))resultCallback
completion:(void (^)(BOOL))completion
{
BOOL animated = YES;
if([exts[@"animated"] boolValue]){
animated = [exts[@"animated"] boolValue];
}
[self.platform openPage:url
params:urlParams
animated:[exts[@"animated"] boolValue]
animated:animated
completion:completion];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment