Content-Length: 272830 | pFad | http://github.com/angular/angular/commit/b210d3ccd542792d27aaccde9e086663d1eeed61
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e8e867 commit b210d3cCopy full SHA for b210d3c
devtools/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.ts
@@ -95,6 +95,13 @@ export class DevToolsTabsComponent {
95
this.routes.set(routes || []);
96
});
97
98
+ // Change the tab to Components, if an element is selected via the inspector.
99
+ this._messageBus.on('selectComponent', () => {
100
+ if (this.activeTab() !== 'Components') {
101
+ this.changeTab('Components');
102
+ }
103
+ });
104
+
105
if (typeof chrome !== 'undefined' && chrome.runtime !== undefined) {
106
this.extensionVersion.set(chrome.runtime.getManifest().version);
107
}
Fetched URL: http://github.com/angular/angular/commit/b210d3ccd542792d27aaccde9e086663d1eeed61
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments