forked from arkon/ng-click-outside
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from Kr0san89/feature/standalone_component
Feature/standalone component
- Loading branch information
Showing
6 changed files
with
20 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 5 additions & 6 deletions
11
projects/ng-click-outside2/src/lib/ng-click-outside.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
import {NgModule} from '@angular/core'; | ||
import {NgClickOutsideDirective} from './ng-click-outside.directive'; | ||
|
||
|
||
const exportDeclarations = [NgClickOutsideDirective]; | ||
|
||
/** | ||
* @deprecated use NgClickOutsideDirective directly as it is a Standalone Component, the Module will be removed in Version 12 | ||
*/ | ||
@NgModule({ | ||
declarations: exportDeclarations, | ||
imports: [], | ||
exports: exportDeclarations | ||
imports: [NgClickOutsideDirective], | ||
exports: [NgClickOutsideDirective] | ||
}) | ||
export class NgClickOutsideModule { | ||
} |