This package has been deprecated

Author message:

This package only supports System.js-backed build systems.

angular2-click-outside
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

angular2-click-outside

This is a directive for detecting clicks outside of a DOM element where the directive is placed on.

PRs welcome!

Setup

Run npm i angular2-click-outside and configure SystemJS accordingly.

Sample Usage

Using this directive is as easy as:

<div (clickOutside)="close()"></div>

Requirements

Angular 2 RC 0 or later

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i angular2-click-outside

    Weekly Downloads

    343

    Version

    0.1.0

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • christianliebel