Poq.SDK.Node

Home > @poq/sdk > StoryCard > (constructor)

StoryCard.(constructor)

Constructs a new instance of the StoryCard class

Signature:

constructor(params: {
        key: string;
        title: string;
        type: StoryCardType;
        imageUrl: string;
        duration: number;
        actionLabel?: string;
        products?: StoryCardProduct[];
        videoUrl?: string;
        url?: string;
        categoryId?: number;
        navigationCategoryId?: string;
    });

Parameters

Parameter Type Description
params { key: string; title: string; type: StoryCardType; imageUrl: string; duration: number; actionLabel?: string; products?: StoryCardProduct[]; videoUrl?: string; url?: string; categoryId?: number; navigationCategoryId?: string; }