truly-ui
Version:
Web Components for Desktop Applications.
28 lines (27 loc) • 998 B
TypeScript
import { ElementRef } from '@angular/core';
import { IdGeneratorService } from '../helper/idgenerator.service';
import { NameGeneratorService } from '../helper/namegenerator.service';
import { TabIndexService } from '../../form/tabIndex.service';
/**
* Class extended of others components, in charge of generate ID and TabIndex.
*/
export declare class ComponentDefaultBase {
tabIndexService: TabIndexService;
idService: IdGeneratorService;
nameService: NameGeneratorService;
/**
* Controller to define if the tabulation is with key Enter or key Tab.
* @type {boolean}
*/
enterAsTab: boolean;
/**
* The element itself.
*/
element: ElementRef;
constructor(tabIndexService: TabIndexService, idService: IdGeneratorService, nameService: NameGeneratorService);
/**
* @param value The element received of the components.
* @param name The name passed in the component.
*/
setElement(value: ElementRef, name: any): void;
}