Open ghost opened 8 years ago
I just trigger it by mocking the event that I would have used to watch for transition anyways through a button.
$scope.mockGeofence = function(){
$rootScope.$broadcast('enteredGeofence')
};
$scope.$on('enteredGeofence', function() {
//run code here
});
This is a feature proposal, or, if it already exists, would be good to update the README.
It would be nice to be able to manually trigger a transition event for development purposes. Is that possible today? Thanks!