File

projects/isy-angular-widgets/src/lib/form-wrapper/form-wrapper-field-adapter.ts

Index

Methods

Methods

setAriaDescribedBy
setAriaDescribedBy(value: string | null)
Parameters :
Name Type Optional
value string | null No
Returns : void
setAriaErrorMessage
setAriaErrorMessage(value: string | null)
Parameters :
Name Type Optional
value string | null No
Returns : void
setAriaInvalid
setAriaInvalid(value: "true" | null)
Parameters :
Name Type Optional
value "true" | null No
Returns : void
setFieldId
setFieldId(id: string)
Parameters :
Name Type Optional
id string No
Returns : void
import {InjectionToken} from '@angular/core';

export interface FormWrapperFieldAdapter {
  setFieldId(id: string): void;
  setAriaDescribedBy(value: string | null): void;
  setAriaInvalid(value: 'true' | null): void;
  setAriaErrorMessage(value: string | null): void;
}

export const FORM_WRAPPER_FIELD_ADAPTER = new InjectionToken<FormWrapperFieldAdapter>('FORM_WRAPPER_FIELD_ADAPTER');

results matching ""

    No results matching ""