FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Creating an Observable by passing a JSON object in the constructor does not define the respective properties on the Observable object instance. · Issue #322 · NativeScript/NativeScript · GitHub

Creating an Observable by passing a JSON object in the constructor does not define the respective properties on the Observable object instance. #322

Description

As a result, when someone changes the value of one of those properties through direct JavaScript notation (i.e. without calling Observable.set method), no notifications are fired and binding are not updated. For example:

var viewModel = new observableModule.Observable({ count:5 });
viewModel.count++; 

will not update any bindings to count.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL