@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
43 lines (42 loc) • 1.74 kB
TypeScript
import { ElementRef, ViewContainerRef } from '@angular/core';
import { ResourceService } from '../../service/resource.service';
import * as i0 from "@angular/core";
/**
* SVG image directive to place SVG image at background-image by CSS style class.
*/
export declare class SvgDirective {
private elementRef;
private resourceService;
/**
* Initializes a new instance of the SvgDirective class.
*
* @param elementRef the element reference.
* @param resourceService the resource service.
*/
constructor(elementRef: ElementRef, resourceService: ResourceService);
/**
* Set "smeSvg" input as id string of SVG resource.
*
* @param id The identification of SVG resource.
*/
set smeSvg(id: string);
static ɵfac: i0.ɵɵFactoryDeclaration<SvgDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<SvgDirective, "[smeSvg]", never, { "smeSvg": "smeSvg"; }, {}, never, never, false, never>;
}
/**
* SVG image directive to place SVG image as inline into the element.
*/
export declare class SvgInlineDirective {
private viewContainer;
private resourceService;
/**
* Initializes a new instance of the SvgInlineDirective class.
*
* @param viewContainer the view container reference.
* @param resourceService the resource service.
*/
constructor(viewContainer: ViewContainerRef, resourceService: ResourceService);
set smeSvgInline(id: string);
static ɵfac: i0.ɵɵFactoryDeclaration<SvgInlineDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<SvgInlineDirective, "[smeSvgInline]", never, { "smeSvgInline": "smeSvgInline"; }, {}, never, never, false, never>;
}