Skip to content
This repository was archived by the owner on Aug 23, 2019. It is now read-only.
This repository was archived by the owner on Aug 23, 2019. It is now read-only.

Auto-sync children key models if $sync is called on the parent #73

@colinmacdonald

Description

@colinmacdonald
$scope.todos = $goKey('todos').$sync();

$scope.todos.$on('ready', function() {
  var myTodo = $scope.todos.$key('id-1231231adasd-000');
  // myTodo.desc === 'test test'
  // myTodo.complete === false
});

We already have this data sync'd on the parent, should make it easier to work with child key models.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions