@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
39 lines (38 loc) • 1.98 kB
TypeScript
import { ElementRef } from '@angular/core';
import { FormFieldAccessibilityManagerBaseService } from '../form-field-accessibility-manager-base.service';
import * as i0 from "@angular/core";
export declare class ArrayFormFieldAccessibilityManagerService {
protected formFieldAccessibilityManagerBaseService: FormFieldAccessibilityManagerBaseService;
private readonly firstFormFieldInArrayItemSelector;
constructor(formFieldAccessibilityManagerBaseService: FormFieldAccessibilityManagerBaseService);
/**
* It handles the focus when deleting an item from the list.
* @param value the value for the list.
* @param addButton the element reference for the add button.
* @param hostElement the element reference for the host element.
* @returns void
*/
delete(value: any[], addButton: ElementRef, hostElement: ElementRef): void;
/**
* It handles the focus when adding an item to the list.
* @param value the value for the list.
* @param addButton the element reference for the add button.
* @param hostElement the element reference for the host element.
* @returns void
*/
add(value: any[], addButton: ElementRef, hostElement: ElementRef): void;
/**
* It handles the focus when promoting an item in the list.
* @param hostElement The element reference for the host element.
* @param index the current index.
*/
promote(value: any[], hostElement: ElementRef, index: number): void;
/**
* It handles the focus when demoting an item in the list.
* @param hostElement The element reference for the host element.
* @param index the current index.
*/
demote(value: any[], hostElement: ElementRef, index: number): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayFormFieldAccessibilityManagerService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ArrayFormFieldAccessibilityManagerService>;
}