本文整理汇总了TypeScript中app/shared/services.UrlRouteManagerService.openPage方法的典型用法代码示例。如果您正苦于以下问题:TypeScript UrlRouteManagerService.openPage方法的具体用法?TypeScript UrlRouteManagerService.openPage怎么用?TypeScript UrlRouteManagerService.openPage使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类app/shared/services.UrlRouteManagerService
的用法示例。
在下文中一共展示了UrlRouteManagerService.openPage方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: onOpenDetailView
onOpenDetailView(): void {
this.analyticsService.trackEvent(TRACKED_EVENT_LIST.OPEN_TRANSACTION_VIEW);
this.urlRouteManagerService.openPage([
UrlPath.TRANSACTION_VIEW,
this.newUrlStateNotificationService.getPathValue(UrlPathId.AGENT_ID),
this.newUrlStateNotificationService.getPathValue(UrlPathId.TRACE_ID),
this.newUrlStateNotificationService.getPathValue(UrlPathId.FOCUS_TIMESTAMP),
this.newUrlStateNotificationService.getPathValue(UrlPathId.SPAN_ID)
]);
}
开发者ID:young891221,项目名称:pinpoint,代码行数:10,代码来源:transaction-detail-menu-for-detail-container.component.ts
示例2: onOpenExtraView
onOpenExtraView(param: any): void {
if (param.open) {
this.urlRouteManagerService.openPage(param.url);
} else {
this.dynamicPopupService.openPopup({
data: {
title: 'Notice',
contents: this.partInfo.disableButtonMessage
},
component: MessagePopupContainerComponent
});
}
}
开发者ID:young891221,项目名称:pinpoint,代码行数:13,代码来源:transaction-detail-menu-for-detail-container.component.ts