Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Getters and setters with can.Map

$
0
0
Assuming I dont care when a property is added or removed, how would you integrate the getter/setter with the can.Construct.extend method?

The thing is that for the use case I posted above ("NativeMap" and the object "somePagination"), it works fine, it can even use the getter/setter from within a method of that object. It seems to me a shame that I can reach halfway down the road to use getters and setters, and not able to use them in inheritance situations because I can't understand how the can.Construct.extend method works.

In any case, thanks for the reply.

Viewing all articles
Browse latest Browse all 3491

Trending Articles