Feature/refactor symbol icon module to asset profile icon component (#3245)
* Refactor symbol icon module to asset profile icon component (standalone)pull/3252/head
parent
ca2e748c56
commit
50dbbf0569
@ -0,0 +1,8 @@
|
||||
@if (src) {
|
||||
<img
|
||||
onerror="this.style.display='none'"
|
||||
[ngClass]="{ large: size === 'large' }"
|
||||
[src]="src"
|
||||
[title]="tooltip ? tooltip : ''"
|
||||
/>
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<img
|
||||
*ngIf="src"
|
||||
onerror="this.style.display='none'"
|
||||
[ngClass]="{ large: size === 'large' }"
|
||||
[src]="src"
|
||||
[title]="tooltip ? tooltip : ''"
|
||||
/>
|
@ -1,12 +0,0 @@
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
||||
|
||||
import { SymbolIconComponent } from './symbol-icon.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [SymbolIconComponent],
|
||||
exports: [SymbolIconComponent],
|
||||
imports: [CommonModule],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class GfSymbolIconModule {}
|
Loading…
Reference in new issue