-
Notifications
You must be signed in to change notification settings - Fork 249
Open
Description
Hi,
when you run $scope.AddItem function for example 3 times and call function $scope.Test you will see that the size of $scope.items is equal 3.
But when you click 'del' you will see that $scope.items size is 0.
Why ?
hotkeys.bindTo($scope)
.add({
combo: 'del',
description: 'blah blah',
callback: function () {
$scope.Test();
}
})
$scope.Test = function()
{
alert($scope.items.length);
}
$scope.AddItem = function()
{
$scope.items.push({ test: 'Test' });
}
Metadata
Metadata
Assignees
Labels
No labels