UNPKG

@rxap/directives

Version:

This package provides a set of Angular directives to simplify common tasks such as setting background images, confirming clicks, making elements contenteditable, and more. It includes directives for handling UI interactions, applying styles, and managing

15 lines (14 loc) 1.03 kB
import { ElementRef, Renderer2 } from '@angular/core'; import { AvatarImageService, ImageLoaderService } from '@rxap/services'; import { BackgroundImageDirective, BackgroundRepeatOptions, BackgroundSizeOptions } from './background-image.directive'; import * as i0 from "@angular/core"; export declare class AvatarBackgroundImageDirective extends BackgroundImageDirective { private readonly avatarImage; imageUrl: string | null | undefined; size: BackgroundSizeOptions; repeat: BackgroundRepeatOptions; constructor(host: ElementRef, renderer: Renderer2, imageLoader: ImageLoaderService, avatarImage: AvatarImageService); set name(name: string); static ɵfac: i0.ɵɵFactoryDeclaration<AvatarBackgroundImageDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<AvatarBackgroundImageDirective, "[rxapAvatarBackgroundImage]", never, { "imageUrl": { "alias": "rxapAvatarBackgroundImage"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>; }