summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/view-models
diff options
context:
space:
mode:
authorAndrei_Barcovschi <andrei.barcovschi@ericsson.com>2019-04-30 15:13:34 +0100
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-06-02 14:19:20 +0000
commit4f514b1c3f1c688345c750281097925ac22417ca (patch)
tree42c2a08f4a967e885095c831e9b39a5a204cf4d1 /catalog-ui/src/app/view-models
parent8423794738e6411f8a4c5ef97764c20a433a67bb (diff)
add automated fadeout to sdc splashscreen
Change-Id: Id24486b4a58d5aa2ccd1dfc8be99bf747b4263c5 Issue-ID: SDC-2258 Signed-off-by: Andrei_Barcovschi <andrei.barcovschi@ericsson.com>
Diffstat (limited to 'catalog-ui/src/app/view-models')
-rw-r--r--catalog-ui/src/app/view-models/welcome/welcome-view.ts14
1 files changed, 10 insertions, 4 deletions
diff --git a/catalog-ui/src/app/view-models/welcome/welcome-view.ts b/catalog-ui/src/app/view-models/welcome/welcome-view.ts
index a29a539a3c..cb52c0c592 100644
--- a/catalog-ui/src/app/view-models/welcome/welcome-view.ts
+++ b/catalog-ui/src/app/view-models/welcome/welcome-view.ts
@@ -7,9 +7,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -43,7 +43,13 @@ export class WelcomeViewModel {
this.loadImages(():void=> {
window.setTimeout(():void =>{
$(".sdc-welcome-new-page").addClass("animated fadeIn");
- },1000);
+ window.setTimeout(():void =>{
+ $(".sdc-welcome-new-page").addClass("animated fadeOut");
+ window.setTimeout(():void =>{
+ this.$state.go("dashboard", {});
+ },1000);
+ },3000);
+ },0);
});
},0);
}
@@ -73,5 +79,5 @@ export class WelcomeViewModel {
};
img.src = url;
};
-
+
}