UNPKG

design-angular-kit

Version:

Un toolkit Angular conforme alle linee guida di design per i servizi web della PA

36 lines (35 loc) 1.57 kB
import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core'; import { ItAbstractComponent } from '../../../abstracts/abstract.component'; import * as i0 from "@angular/core"; import * as i1 from "../../../utils/coercion"; export declare class ItLinkComponent extends ItAbstractComponent implements AfterViewInit, OnChanges { /** * The router link action * * Commands to pass to Router#createUrlTree. * - array: commands to pass to Router#createUrlTree. * - string: shorthand for array of commands with just the string, i.e. ['/route'] * - null|undefined: Disables the link by removing the href */ href: any[] | string | null | undefined; /** * Is an external link (false to not use Angular router link) * @default false */ externalLink?: boolean; /** * Is disabled link * @default false */ disabled?: boolean; /** * Custom class */ class: string; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration<ItLinkComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ItLinkComponent, "it-link", never, { "href": { "alias": "href"; "required": false; }; "externalLink": { "alias": "externalLink"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>; static ngAcceptInputType_externalLink: i1.BooleanInput; static ngAcceptInputType_disabled: i1.BooleanInput; }