File

C:/GoDev/src/TCSTK-Angular/projects/tibco-tcstk/tc-core-lib/src/lib/models/tc-general-landing-page-config.ts

Index

Properties
Methods

Properties

Public content
Type : string
Public iconURL
Type : string
Public title
Type : string

Methods

deserialize
deserialize(input: any)
Parameters :
Name Type Optional
input any No
Returns : this
import { Deserializable } from './deserializable';

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[];
    public 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;
    }
}

result-matching ""

    No results matching ""