import { Directive, HostListener } from '@angular/core';
import * as i0 from "@angular/core";
export class LinkPreventer {
    clickListener(event) {
        event.preventDefault();
    }
}
LinkPreventer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LinkPreventer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
LinkPreventer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: LinkPreventer, selector: "[link-preventer]", host: { listeners: { "click": "clickListener($event)" } }, ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LinkPreventer, decorators: [{
            type: Directive,
            args: [{
                    selector: '[link-preventer]',
                }]
        }], propDecorators: { clickListener: [{
                type: HostListener,
                args: ['click', ['$event']]
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvZXBvbS1uZzItdWktZm91bmRhdGlvbi9zcmMvbGliL3BpcGVzLWRpcmVjdGl2ZXMvZGlyZWN0aXZlcy9saW5rcHJldmVudGVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFDLE1BQU0sZUFBZSxDQUFDOztBQUt0RCxNQUFNLE9BQU8sYUFBYTtJQUNVLGFBQWEsQ0FBQyxLQUFVO1FBQ3hELEtBQUssQ0FBQyxjQUFjLEVBQUUsQ0FBQztJQUN6QixDQUFDOzswR0FIVSxhQUFhOzhGQUFiLGFBQWE7MkZBQWIsYUFBYTtrQkFIekIsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsa0JBQWtCO2lCQUM3Qjs4QkFFbUMsYUFBYTtzQkFBOUMsWUFBWTt1QkFBQyxPQUFPLEVBQUMsQ0FBQyxRQUFRLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0RpcmVjdGl2ZSwgSG9zdExpc3RlbmVyfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW2xpbmstcHJldmVudGVyXScsXG59KVxuZXhwb3J0IGNsYXNzIExpbmtQcmV2ZW50ZXIge1xuICBASG9zdExpc3RlbmVyKCdjbGljaycsWyckZXZlbnQnXSkgY2xpY2tMaXN0ZW5lcihldmVudDogYW55KXtcbiAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICB9XG59XG4iXX0=