-
Notifications
You must be signed in to change notification settings - Fork 600
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
Sergey Arzamasov
committed
Dec 3, 2024
1 parent
320883f
commit 667590f
Showing
8 changed files
with
55 additions
and
40 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
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
21 changes: 21 additions & 0 deletions
21
apps/demos/Demos/Pagination/Overview/Angular/app/employee-card/employee-card.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,21 @@ | ||
<div class="employees__img-wrapper"> | ||
<img | ||
class="employees__img" | ||
[src]="employee.Picture" | ||
[alt]="employee.FullName" | ||
/> | ||
</div> | ||
<div class="employees__info"> | ||
<div class="employees__info-row"> | ||
<span class="employees__info-label">Full Name:</span> | ||
<span class="employees__info-value">{{ employee.FullName }}</span> | ||
</div> | ||
<div class="employees__info-row"> | ||
<span class="employees__info-label">Position:</span> | ||
<span class="employees__info-value">{{ employee.Title }}</span> | ||
</div> | ||
<div class="employees__info-row"> | ||
<span class="employees__info-label">Phone:</span> | ||
<span class="employees__info-value">{{ employee.MobilePhone }}</span> | ||
</div> | ||
</div> |
16 changes: 16 additions & 0 deletions
16
apps/demos/Demos/Pagination/Overview/Angular/app/employee-card/employee-card.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,16 @@ | ||
import { Component, Input } from '@angular/core'; | ||
import { Employee } from '../app.service'; | ||
|
||
let modulePrefix = ''; | ||
// @ts-ignore | ||
if (window && window.config.packageConfigPaths) { | ||
modulePrefix = '/app'; | ||
} | ||
|
||
@Component({ | ||
selector: 'employee-card', | ||
templateUrl: `.${modulePrefix}/employee-card/employee-card.component.html`, | ||
}) | ||
export class EmployeeCard { | ||
@Input() employee: Employee; | ||
} |
Empty file.
Empty file.
Empty file.