-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
98 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
6 changes: 6 additions & 0 deletions
6
src/app/avatar/avatar-sample-1/avatar-sample-1.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<igx-avatar initials="JS" | ||
[roundShape]="isCircular" | ||
size="medium" | ||
[bgColor]="bgColor" | ||
[color]="color"> | ||
</igx-avatar> |
19 changes: 19 additions & 0 deletions
19
src/app/avatar/avatar-sample-1/avatar-sample-1.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Component, OnInit } from "@angular/core"; | ||
|
||
@Component({ | ||
selector: "app-avatar-sample-1", | ||
styleUrls: ["./avatar-sample-1.component.css"], | ||
templateUrl: "./avatar-sample-1.component.html" | ||
}) | ||
export class AvatarSample1Component implements OnInit { | ||
|
||
public bgColor = "#0375be"; | ||
public color = "black"; | ||
public isCircular = true; | ||
|
||
constructor() { } | ||
|
||
public ngOnInit() { | ||
} | ||
|
||
} |
Empty file.
4 changes: 4 additions & 0 deletions
4
src/app/avatar/avatar-sample-2/avatar-sample-2.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<igx-avatar [src]="imgSource" | ||
roundShape="true" | ||
size="large"> | ||
</igx-avatar> |
17 changes: 17 additions & 0 deletions
17
src/app/avatar/avatar-sample-2/avatar-sample-2.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Component, OnInit } from "@angular/core"; | ||
|
||
@Component({ | ||
selector: "app-avatar-sample-2", | ||
styleUrls: ["./avatar-sample-2.component.css"], | ||
templateUrl: "./avatar-sample-2.component.html" | ||
}) | ||
export class AvatarSample2Component implements OnInit { | ||
|
||
public imgSource = "https://randomuser.me/api/portraits/men/1.jpg"; | ||
|
||
constructor() { } | ||
|
||
public ngOnInit() { | ||
} | ||
|
||
} |
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
src/app/avatar/avatar-sample-3/avatar-sample-3.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<div class="sample-content"> | ||
<section class="sample-column"> | ||
<article class="avatars-wrapper"> | ||
<div class="avatar-sample"> | ||
<igx-avatar initials="JS" bgColor="#ACBEDC" size="small"></igx-avatar> | ||
</div> | ||
<div class="avatar-sample"> | ||
<igx-avatar src="https://randomuser.me/api/portraits/men/3.jpg" roundShape="true" size="medium"></igx-avatar> | ||
</div> | ||
<div class="avatar-sample"> | ||
<igx-avatar initials="AZ" [roundShape]="'true'" bgColor="#ADBDBB" color="#424242" size="large"></igx-avatar> | ||
</div> | ||
</article> | ||
</section> | ||
</div> |
15 changes: 15 additions & 0 deletions
15
src/app/avatar/avatar-sample-3/avatar-sample-3.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component, OnInit } from "@angular/core"; | ||
|
||
@Component({ | ||
selector: "app-avatar-sample-3", | ||
styleUrls: ["./avatar-sample-3.component.css"], | ||
templateUrl: "./avatar-sample-3.component.html" | ||
}) | ||
export class AvatarSample3Component implements OnInit { | ||
|
||
constructor() { } | ||
|
||
public ngOnInit() { | ||
} | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.