/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
devtools/projects/ng-devtools/src/lib/application-providers/deep_link.ts
18 строк
536 B
SkyZeroZx
feat(devtools): Adds deep linking from Chrome Performance panel
06 июл 2026, 23:32
06 июл 2026, 23:32
95f56d3
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {InjectionToken, signal, WritableSignal} from '@angular/core'; /** * Holds the instance ID of the component to navigate to from a Chrome * Performance panel deep link */ export const DEEP_LINK_INSTANCE_ID = new InjectionToken<WritableSignal<number | null>>( 'DEEP_LINK_INSTANCE_ID', {factory: () => signal(null)}, );