aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular/videos/loader.component.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-26 20:40:03 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-26 20:40:03 +0200
commit157cb9c9713e08ff70078660a32dd77ecb87eabc (patch)
tree4a9066f820be014fcbddf582fd6b92bdb006dccf /client/angular/videos/loader.component.ts
parenta99593ed9f3244e75f7db793ba6716754d664573 (diff)
downloadPeerTube-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.ts11
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 @@
1import { 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
9export class LoaderComponent {
10 @Input() loading: boolean;
11}