« first day (1390 days earlier)      last day (2727 days later) » 

06:43
if(right click){
if(sheft click){
//code here
}
}
1 message moved from JavaScript
 
3 hours later…
09:17
:34032138 $('span.submenu-button').click(function(){

$(this).next().toggle();
});
does like this help?
1 message moved from JavaScript
 
1 hour later…
10:42
1 message moved from WPF
11:10
export class AppComponent {
title = 'Tour of Heroes';
hero = 'Windstorm';
}
1 message moved from JavaScript
 
2 hours later…
13:37
@BenFortune this is an example of delay function

var wto;

$('#select').change(function() {
clearTimeout(wto);
wto = setTimeout(function() {
// do stuff when user has been idle for 1 second
}, 1000);
});

but does it still the correct way to implement it with babel
1 message moved from JavaScript
mhx
mhx
14:27
codein, just wrap your function with a $timeout(); Don't use $scope.$apply() unless you exactly know what you're doing. Wrong usage will often result in infdig digest loops.

Example for your case:
$scope.createDropDown = $timeout(function () {
// you're code here
});
```
What is happening here? Wrapping your function with a $timeout will also trigger a $digest loop.. but it will be qeueued and executed when the previous one(s) are done. This results in no erros and an updated UI.
1 message moved from JavaScript
 
3 hours later…
1 message moved from [Java and Android era ](chat.stackoverflow.com/rooms/19132/java-and-android-era)
 
5 hours later…
22:53
I forgot to mention
we rape logic
logic is actually just a construct from the government to keep us in check and under control
3 messages moved from JavaScript

« first day (1390 days earlier)      last day (2727 days later) »