Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4870

Observing a property whose name is dynamic

$
0
0

Hi, I need to observe a property with a dynamic name (the name is computed from other properties).

functionName: Ember.observer("string" + this.get("name"), function(){ <snippet>})

unfortunately Ember can’t recognize “this” in the observer’s arguments.

I can’t find any references online regarding my use-case. Please help me on this!

Thank you.

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4870

Trending Articles