C:/GoDev/src/TCSTK-Angular/projects/tibco-tcstk/tc-liveapps-lib/src/lib/models/tc-live-apps-landing-page-config.ts
Properties |
|
Methods |
Public actionButton |
Type : ActionButtonConfig[]
|
Public backgroundURL |
Type : string
|
Public description |
Type : string
|
Public highlights |
Type : LandingPageItemConfig[]
|
Public homeRoute |
Type : string
|
Public key |
Type : string
|
roles |
Type : string[]
|
Public subtitle |
Type : string
|
Public title |
Type : string
|
Public topMargin |
Type : number
|
deserialize | ||||||
deserialize(input: any)
|
||||||
Parameters :
Returns :
this
|
import { Deserializable } from '@tibco-tcstk/tc-core-lib';
/* models used by landing page config */
export class ActionButtonConfig {
public text: string;
public route: string;
deserialize(input: any) {
Object.assign(this, input);
return this;
}
}
export class LandingPageItemConfig {
public title: string;
public content: string;
public iconURL: string;
deserialize(input: any) {
Object.assign(this, input);
return this;
}
}
export class LandingPageConfig {
public key: string;
public description: string;
public title: string;
public subtitle: string;
public backgroundURL: string;
public topMargin: number;
public homeRoute: string;
public highlights: LandingPageItemConfig[];
public actionButton: ActionButtonConfig[];
roles: string[];
deserialize(input: any) {
Object.assign(this, input);
return this;
}
}
export class GeneralLandingPageConfig implements Deserializable {
id: string;
version: string;
uiAppId: string;
landingPage: LandingPageConfig[];
deserialize(input: any) {
Object.assign(this, input);
return this;
}
}