I'm skimming through the Angular docs and noticed some things can be written in canonical form: <button (click)="onSave($event)">Save</button> <button on-click="onSave($event)">Save</button> <img [src]="imageUrl”> <img bind-src="imageUrl”> <span #t...
Join discussionI am writing a dragDirective. Eements are dragged in dragZones. On mouse releases I do a hitTest against all availabe dragZones. I am maintaining a static boolean flag which ends up being false if all hittests return false. In such a situation I woul...
Join discussion