23 lines
2.2 KiB
JavaScript
23 lines
2.2 KiB
JavaScript
import { Directive } from '@angular/core';
|
|
import * as i0 from "@angular/core";
|
|
class ToastContainerDirective {
|
|
el;
|
|
constructor(el) {
|
|
this.el = el;
|
|
}
|
|
getContainerElement() {
|
|
return this.el.nativeElement;
|
|
}
|
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: ToastContainerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.1", type: ToastContainerDirective, isStandalone: true, selector: "[toastContainer]", exportAs: ["toastContainer"], ngImport: i0 });
|
|
}
|
|
export { ToastContainerDirective };
|
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: ToastContainerDirective, decorators: [{
|
|
type: Directive,
|
|
args: [{
|
|
selector: '[toastContainer]',
|
|
exportAs: 'toastContainer',
|
|
standalone: true
|
|
}]
|
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi90b2FzdHIvdG9hc3QuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWMsTUFBTSxlQUFlLENBQUM7O0FBRXRELE1BS2EsdUJBQXVCO0lBQ2Q7SUFBcEIsWUFBb0IsRUFBYztRQUFkLE9BQUUsR0FBRixFQUFFLENBQVk7SUFBSSxDQUFDO0lBQ3ZDLG1CQUFtQjtRQUNqQixPQUFPLElBQUksQ0FBQyxFQUFFLENBQUMsYUFBYSxDQUFDO0lBQy9CLENBQUM7dUdBSlU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