Skip to content

Instantly share code, notes, and snippets.

@deanius deanius/angular.js
Created Jan 24, 2019

Embed
What would you like to do?
class AppComponent {
// Bind to this with userCardNumber.value
userCardNumber = new BehaviorSubject<String>();
// Bind to this with userCardNumber | async
userCardValues = this.userCardNumber.asObservable()
constructor() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.