Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/nigrosimone/ng-portal into …
Browse files Browse the repository at this point in the history
…main
  • Loading branch information
nigrosimone committed Mar 20, 2022
2 parents f58e43f + e4edd60 commit a435057
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class InputComponent {

@Component({
selector: 'app-output',
template: `<input [value]="value | async" readonly disabled>`,
template: `{{ value | async }}`,
})
export class OutputComponent {
@ngPortalOutput() value: Observable<string>;
Expand All @@ -190,7 +190,7 @@ export class InputComponent {

@Component({
selector: 'app-output',
template: `<input [value]="outputValue | async" readonly disabled>`,
template: `{{ value | async }}`,
})
export class OutputComponent {
@ngPortalOutput({key: 'foo'}) outputValue: Observable<string>;
Expand Down Expand Up @@ -233,7 +233,7 @@ export class ModelComponent {

@Component({
selector: 'app-output',
template: `<input [value]="outputValue | async" readonly disabled>`,
template: `{{ value | async }}`,
})
export class OutputComponent {
@ngPortalOutput({key: 'foo'}) outputValue: Observable<string>;
Expand Down

0 comments on commit a435057

Please sign in to comment.