0.0.3 • Published 8 years ago
ng2-offclick v0.0.3
ng2-offclick
An Offclick directive for Angular2!
Use it like this:
<div [offClick]="clickedOutsideOfThisDivCallbackFunction">
... content ...
</div>
Thats it! In that callback function you can do whatever you want to.. :)