diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-26 20:40:03 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-26 20:40:03 +0200 |
commit | 157cb9c9713e08ff70078660a32dd77ecb87eabc (patch) | |
tree | 4a9066f820be014fcbddf582fd6b92bdb006dccf /client/angular/videos/loader.component.ts | |
parent | a99593ed9f3244e75f7db793ba6716754d664573 (diff) | |
download | PeerTube-157cb9c9713e08ff70078660a32dd77ecb87eabc.tar.gz PeerTube-157cb9c9713e08ff70078660a32dd77ecb87eabc.tar.zst PeerTube-157cb9c9713e08ff70078660a32dd77ecb87eabc.zip |
Add a loader animation when loading the videos list
Diffstat (limited to 'client/angular/videos/loader.component.ts')
-rw-r--r-- | client/angular/videos/loader.component.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/client/angular/videos/loader.component.ts b/client/angular/videos/loader.component.ts new file mode 100644 index 000000000..24329432e --- /dev/null +++ b/client/angular/videos/loader.component.ts | |||
@@ -0,0 +1,11 @@ | |||
1 | import { Component, Input } from '@angular/core'; | ||
2 | |||
3 | @Component({ | ||
4 | selector: 'my-loader', | ||
5 | styleUrls: [ 'app/angular/videos/loader.component.css' ], | ||
6 | templateUrl: 'app/angular/videos/loader.component.html' | ||
7 | }) | ||
8 | |||
9 | export class LoaderComponent { | ||
10 | @Input() loading: boolean; | ||
11 | } | ||