Skip to content

Commit 1618595

Browse files
hawkgskirjs
authored andcommitted
refactor(devtools): drop @ from inputs and outputs label (angular#60053)
Drop '@' from inputs and outputs label to fit in with the new signal-based API. PR Close angular#60053
1 parent 669fb67 commit 1618595

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

devtools/cypress/integration/view-component-metadata.e2e.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ describe('Viewing component metadata', () => {
4444
});
4545

4646
it('should display correct set of inputs', () => {
47-
cy.contains('.cy-inputs', '@Inputs');
47+
cy.contains('.cy-inputs', 'Inputs');
4848
cy.contains('.cy-inputs mat-tree-node:first span:first', 'inputOne');
4949
cy.contains('.cy-inputs mat-tree-node:last span:first', 'inputTwo');
5050
});
5151

5252
it('should display correct set of outputs', () => {
53-
cy.contains('.cy-outputs', '@Outputs');
53+
cy.contains('.cy-outputs', 'Outputs');
5454
cy.contains('.cy-outputs mat-tree-node:first span:first', 'outputOne');
5555
cy.contains('.cy-outputs mat-tree-node:last span:first', 'outputTwo');
5656
});

devtools/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-view/property-view-body.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ export class PropertyViewBodyComponent {
5757
>(() => {
5858
return [
5959
{
60-
title: '@Inputs',
60+
title: 'Inputs',
6161
hidden: this.directiveInputControls().dataSource.data.length === 0,
6262
controls: this.directiveInputControls(),
6363
documentation: 'https://angular.dev/api/core/input',
6464
class: 'cy-inputs',
6565
},
6666
{
67-
title: '@Outputs',
67+
title: 'Outputs',
6868
hidden: this.directiveOutputControls().dataSource.data.length === 0,
6969
controls: this.directiveOutputControls(),
7070
documentation: 'https://angular.dev/api/core/output',

0 commit comments

Comments
 (0)