Skip to content

Getter event #11

@krzysztofantczak

Description

@krzysztofantczak

Hey,

First of all, i love how i can get info about add/update on object properties, but.... Is it possible to somehow get notified when an object property is used? Like simple:

console.log(obj.some_prop);

ObservableSlim callback would be called with "read" type, or something like that? Even ugly and hacky way is good enough for my use case.

I had that working with native Proxy but Your lib makes it so much easier to handle all the other cases.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions