UNPKG

ng-svg-icon-sprite

Version:

Angular 17+ package for generating and using inline SVG icons in your project

15 lines (14 loc) 713 B
import { ElementRef, Renderer2, OnInit } from '@angular/core'; import * as i0 from "@angular/core"; /** * Set your own attribute key/value pairs on the generated SVG element, i.e. focusable="false" */ export declare class IconSpriteDirective implements OnInit { renderer: Renderer2; el: ElementRef; attribute: [string, string] | Array<[string, string]>; constructor(renderer: Renderer2, el: ElementRef); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<IconSpriteDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<IconSpriteDirective, "[svgIconSpriteAttr]", never, { "attribute": { "alias": "attribute"; "required": false; }; }, {}, never, never, false, never>; }