@delvicons/icons
Version:
DelvIcons - Comprehensive icon library with static and animated SVG icons for all frameworks
36 lines (34 loc) • 1.21 kB
text/typescript
import { Component, Input } from '@angular/core';
export class LoadingSpinnerComponent {
size: number | string = 24;
color: string = 'currentColor';
className: string = '';
animated: boolean = true;
get iconClasses(): string {
return [
'delv-icon',
'delv-icon-loading-spinner',
this.animated ? 'delv-animated' : '',
this.className
].filter(Boolean).join(' ');
}
}