Created
May 7, 2021 06:24
-
-
Save NetanelBasal/7c5dbc7c00178308792006140e02913c to your computer and use it in GitHub Desktop.
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
@Directive({ | |
selector: '[resourceActionsCell]', | |
}) | |
export class ResourceActionsCellDirective { | |
@HostListener('visible', ['$event']) | |
runSomeCode(visible: boolean) { | |
.... | |
} | |
} | |
@NgModule({ | |
declarations: [ResourceActionsCellDirective], | |
exports: [ResourceActionsCellDirective], | |
}) | |
export class ResourceActionsCellDirectiveModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment