src/app/components/course/course.component.ts
Course component ~extends PropertyComponent
selector | app-course |
styleUrls | ./course.component.scss |
templateUrl | ./course.component.html |
Properties |
|
Methods |
Inputs |
Accessors |
constructor(datePipe: DatePipe, portfolioService: PortfolioService, inputService: InputService, uiService: UiService, dataService: DataService, excelDateFormatterService: ExcelDateFormatterService, classifierService: ClassifierService)
|
||||||||||||||||||||||||||||||||
Constructs the Course component.
Parameters :
|
propertyName |
Type : Indexable
|
Injected propery name setter. |
completed | ||||||
completed(propertyName: Accomplishment)
|
||||||
Calculate and format completed date.
Parameters :
Returns :
any
|
expired | ||||||
expired(propertyName: Accomplishment)
|
||||||
Calculate whether completed date is in the past.
Parameters :
Returns :
boolean
|
expiresLabel | ||||||
expiresLabel(propertyName: Accomplishment)
|
||||||
Calculate expires label.
Parameters :
Returns :
any
|
getAccomplishmentAuthorityImageUri | ||||||
getAccomplishmentAuthorityImageUri(imageName: string)
|
||||||
Get accomplishment authority image uri delegate.
Parameters :
Returns :
any
|
getAccomplishmentCertificateImageUri |
getAccomplishmentCertificateImageUri(imageName: string, full: boolean)
|
Get accomplishment certificate image uri delegate.
Returns :
any
|
getAccomplishmentCertificateLogoImageUri |
getAccomplishmentCertificateLogoImageUri(imageName: string, full: boolean)
|
Get accomplishment certificate logo image uri delegate.
Returns :
any
|
sameFormattedDate | ||||||
sameFormattedDate(propertyName: Accomplishment)
|
||||||
Check if the started formatted date is the same as the completed formatted date.
Parameters :
Returns :
boolean
|
started | ||||||
started(propertyName: Accomplishment)
|
||||||
Calculate and format started date.
Parameters :
Returns :
any
|
Public trackByFn |
trackByFn(index: any, item: any)
|
TrackBy iterator help function.
Returns :
any
|
rotateDateFormat |
rotateDateFormat()
|
Rotate date format changer.
Returns :
void
|
getBackgroundLogoImageUri | ||||||
getBackgroundLogoImageUri(imageName: string)
|
||||||
Get background logoimage uri delegate.
Parameters :
Returns :
any
|
getJsDateValueFromExcel | ||||||
getJsDateValueFromExcel(excelDate: any)
|
||||||
Get JS date value from Excel delegate.
Parameters :
Returns :
any
|
getSafeUri | ||||||
getSafeUri(url: string)
|
||||||
Get safe uri delegate.
Parameters :
Returns :
any
|
linkLabel | ||||||
linkLabel(key: string | undefined)
|
||||||
Link label delegate.
Parameters :
Returns :
string
|
Public Readonly classifierService |
Type : ClassifierService
|
The classifier service injected dependency.
|
Optional clickableDateFormat |
Type : ElementRef<HTMLSpanElement>
|
Decorators :
@ViewChild('clickableDateFormat')
|
Date Format clickable element. |
Public Readonly dataService |
Type : DataService
|
The data service injected dependency.
|
Public Readonly datePipe |
Type : DatePipe
|
The data pipe injected dependency.
|
Public Readonly excelDateFormatterService |
Type : ExcelDateFormatterService
|
The Excel date formatter service injected dependency.
|
Public Readonly inputService |
Type : InputService
|
The input service injected dependency.
|
Public Readonly portfolioService |
Type : PortfolioService
|
The portfolio service injected dependency.
|
Public Readonly uiService |
Type : UiService
|
The ui service injected dependency.
|
type |
gettype()
|
Property name type getter.
Returns :
string
|
defaultDateFormat |
getdefaultDateFormat()
|
Default date format getter. |
showLevel |
getshowLevel()
|
Whether to show property level. |
level |
getlevel()
|
The property level calculated. |
./course.component.scss
@use "../property/property.component.scss";