ng2-offclick
v0.0.3
Published
An Offclick directive for Angular2!
Downloads
9
Readme
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.. :)