@cds/angular
Version:
Core component modules for Clarity Angular
31 lines (30 loc) • 1.56 kB
TypeScript
import { ElementRef, EventEmitter } from '@angular/core';
import { CdsPassword } from '@cds/core/password';
import * as i0 from "@angular/core";
export declare class CdsPasswordDirective {
protected element: CdsPassword;
get i18n(): {
showButtonAriaLabel: string;
hideButtonAriaLabel: string;
};
set i18n(value: {
showButtonAriaLabel: string;
hideButtonAriaLabel: string;
});
get togglePasswordVisibility(): () => void;
set togglePasswordVisibility(value: () => void);
get status(): import("@cds/core/forms").ControlStatus;
set status(value: import("@cds/core/forms").ControlStatus);
get controlWidth(): import("@cds/core/forms").ControlWidth;
set controlWidth(value: import("@cds/core/forms").ControlWidth);
get validate(): boolean | '';
set validate(value: boolean | '');
get responsive(): boolean | '';
set responsive(value: boolean | '');
get layout(): import("@cds/core/forms").ControlLayout;
set layout(value: import("@cds/core/forms").ControlLayout);
layoutChange: EventEmitter<CustomEvent>;
constructor(elementRef: ElementRef);
static ɵfac: i0.ɵɵFactoryDeclaration<CdsPasswordDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<CdsPasswordDirective, "cds-password", never, { "i18n": "i18n"; "togglePasswordVisibility": "togglePasswordVisibility"; "status": "status"; "controlWidth": "controlWidth"; "validate": "validate"; "responsive": "responsive"; "layout": "layout"; }, { "layoutChange": "layoutChange"; }, never>;
}