Skip to content

Binding an observable that is inside an object property #8154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
danbord opened this issue Dec 29, 2022 · 1 comment
Closed

Binding an observable that is inside an object property #8154

danbord opened this issue Dec 29, 2022 · 1 comment

Comments

@danbord
Copy link

danbord commented Dec 29, 2022

Describe the problem

I'm using rxjs observables that are inside a class property. I'd like to use it in the display like that:

Here "counterObject" is my class object and "count" is an Observable<number>

<span>{$counterObject.count}</span>

That gives me a compile error because counterObject is not a store.

Describe the proposed solution

allow something like that:

{$(counterObject.count)}

Alternatives considered

{counterObject.$count}
{$counterObject.count}

Importance

would make my life easier

@Conduitry
Copy link
Member

Duplicate of #4079.

@Conduitry Conduitry closed this as not planned Won't fix, can't repro, duplicate, stale Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants