File

libs/common/ui/src/journey-insights/insights.component.ts

Index

Properties

Properties

bbTitles
Type string[]
pageId
Type string
import { JourneyInsights } from '@allianz/taly-core/showroom';
import { Component, EventEmitter, Input, Output } from '@angular/core';

interface PageDetail {
  pageId: string;
  bbTitles: string[];
}

@Component({
  selector: 'taly-journey-insights',
  templateUrl: 'insights.component.html',
  styleUrls: ['insights.component.scss'],
  standalone: false
})
export class JourneyInsightsComponent {
  @Input() set journeyInsights(value: JourneyInsights) {
    this.pageDetails = value.pageDetails;
    this.uniqueBbCount = value.uniqueBbs.length;
  }
  @Output() closePanel = new EventEmitter();
  pageDetails!: PageDetail[];
  uniqueBbCount!: number;
}

results matching ""

    No results matching ""