Asymmetrik/mean2-starter

View on GitHub
src/client/app/shared/loading-animation.component.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Component, Input } from '@angular/core';

@Component({
    selector: 'asy-loading-animation',
    template: `
        <div class='loading-animation text-center'>
            <span>{{ text }}</span>
            <i class='fa fa-spinner fa-spin'></i>
        </div>
    `
})

export class AsyLoading {

    @Input() text = 'Loading...';

    constructor(
    ) {}
}