@ngx-uk-frontend/core
Version:
Core utilities and shared functionality for ngx-uk-frontend libraries
26 lines (25 loc) • 1.22 kB
TypeScript
import * as i0 from "@angular/core";
/**
* Base directive for individual error summary items
*
* This directive provides common functionality for error summary items
* across different design systems. It provides a declarative API for
* error summary components.
*
* The directive doesn't render anything itself - it just provides
* properties that the parent error summary component can use.
*/
export declare class ErrorSummaryItemDirective {
/**
* The text of the error message to display
* Required field that will be displayed as the error message
*/
readonly text: import("@angular/core").InputSignal<string>;
/**
* Required targetId attribute for the error link
* This should reference the id of the form field with the error.
*/
readonly targetId: import("@angular/core").InputSignal<string>;
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorSummaryItemDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ErrorSummaryItemDirective, "error-summary-item", never, { "text": { "alias": "text"; "required": true; "isSignal": true; }; "targetId": { "alias": "targetId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
}