Skip to content

Instantly share code, notes, and snippets.

@lydemann
Created August 29, 2022 05:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lydemann/784076e4432f080639317a713533136a to your computer and use it in GitHub Desktop.
Save lydemann/784076e4432f080639317a713533136a to your computer and use it in GitHub Desktop.
@Component({
selector: ‘target’,
template:
<span *rxLet="value$; let value">
{{ value }}
</span>
})
export class Component {
@Input() value$ = Observable<string>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment