src/app/modules/shared/interfaces/card.ts
Properties |
|
action |
action:
|
Type : literal type
|
Optional |
completionPercentage |
completionPercentage:
|
Type : number
|
Optional |
contentType |
contentType:
|
Type : string
|
Optional |
creator |
creator:
|
Type : string
|
Optional |
description |
description:
|
Type : string
|
Optional |
downloadStatus |
downloadStatus:
|
Type : string
|
Optional |
gradeLevel |
gradeLevel:
|
Type : any
|
Optional |
hoverData |
hoverData:
|
Type : object
|
Optional |
image |
image:
|
Type : string
|
Optional |
imageVisibility |
imageVisibility:
|
Type : boolean
|
Optional |
maxCount |
maxCount:
|
Type : number
|
Optional |
medium |
medium:
|
Type : string
|
Optional |
metaData |
metaData:
|
Type : any
|
Optional |
name |
name:
|
Type : string
|
orgDetails |
orgDetails:
|
Type : literal type
|
Optional |
progress |
progress:
|
Type : number
|
Optional |
rating |
rating:
|
Type : number
|
Optional |
resourceType |
resourceType:
|
Type : string
|
Optional |
ribbon |
ribbon:
|
Type : literal type
|
Optional |
subject |
subject:
|
Type : string
|
Optional |
export interface ICard {
name: string;
image?: string;
downloadStatus?: string;
imageVisibility?: boolean;
description?: string;
subject?: string;
medium?: string;
creator?: string;
orgDetails?: { orgName: string, email: string};
gradeLevel?: any;
resourceType?: string;
maxCount?: number;
progress?: number;
contentType?: string;
hoverData?: object;
ribbon?: {
right?: { class: string, name: string }
left?: { class: string, name: string , image: string }
};
rating?: number;
metaData?: any;
action?: {
right?: {
class: string,
text?: string,
eventName: string,
displayType: string
};
left?: {
class: string,
text?: string,
eventName: string,
displayType: string
};
onImage?: {
eventName: string
};
};
completionPercentage?: number;
}