mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-09 01:44:20 +01:00
icons page
This commit is contained in:
parent
8dbdd2fa64
commit
5a2a990141
13 changed files with 465 additions and 5 deletions
|
|
@ -28,6 +28,10 @@ export class SidebarService {
|
|||
title: 'Buttons',
|
||||
name: 'Buttons',
|
||||
},
|
||||
{
|
||||
title: 'Icons',
|
||||
name: 'Icons',
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
export * from './profilePicture';
|
||||
export * from './appPicture';
|
||||
export * from './kameleonPicture';
|
||||
|
|
|
|||
1
src/app/theme/pipes/kameleonPicture/index.ts
Normal file
1
src/app/theme/pipes/kameleonPicture/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from './kameleonPicture.pipe.ts';
|
||||
10
src/app/theme/pipes/kameleonPicture/kameleonPicture.pipe.ts
Normal file
10
src/app/theme/pipes/kameleonPicture/kameleonPicture.pipe.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import {Pipe, PipeTransform} from '@angular/core';
|
||||
import {layoutPaths} from '../../../theme';
|
||||
|
||||
@Pipe({name: 'kameleonPicture'})
|
||||
export class KameleonPicturePipe implements PipeTransform {
|
||||
|
||||
transform(input:string):string {
|
||||
return layoutPaths.images.root + 'theme/icon/kameleon/' + input + '.svg';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue