UNPKG

@skyux/core

Version:

This library was generated with [Nx](https://nx.dev).

16 lines (15 loc) 726 B
import { ElementRef, Renderer2 } from '@angular/core'; import { SkyIdService } from './id.service'; import * as i0 from "@angular/core"; /** * Sets the element's `id` attribute to a unique ID. To reference this unique ID on other elements, * such as in a `label` element's `for` attribute, assign this directive to a template reference * variable, then use its `id` property. */ export declare class SkyIdDirective { #private; get id(): string; constructor(elRef: ElementRef, renderer: Renderer2, idSvc: SkyIdService); static ɵfac: i0.ɵɵFactoryDeclaration<SkyIdDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<SkyIdDirective, "[skyId]", ["skyId"], {}, {}, never, never, false, never>; }