UNPKG

truly-ui

Version:
46 lines (45 loc) 1.72 kB
import { ElementRef, EventEmitter, AfterViewInit } from '@angular/core'; import { ModalService } from '../modal/modal.service'; import { ModalResult } from '../core/enums/modal-result'; import { TabIndexService } from '../form/tabIndex.service'; import { IdGeneratorService } from '../core/helper/idgenerator.service'; import { NameGeneratorService } from '../core/helper/namegenerator.service'; import { ComponentDefaultBase } from '../core/base/component-default.base'; export declare class TlButton extends ComponentDefaultBase implements AfterViewInit { button: ElementRef; modalService: ModalService; type: string; text: string; iconAddonBefore: string; buttonAddonBeforeClass: string; iconAddonAfter: string; buttonAddonAfterClass: string; iconBeforeText: string; iconBeforeTextClass: string; iconAfterText: string; iconAfterTextClass: string; height: number; width: number; defaultFocus: boolean; disabled: boolean; toggle: boolean; toggleClass: string; toggleClassName: string; buttonClass: string; mdResult: ModalResult; formResult: any; isSelected: EventEmitter<any>; buttonElement: ElementRef; private _buttonSelected; buttonSelected: boolean; constructor(button: ElementRef, modalService: ModalService, tabIndexService: TabIndexService, idService: IdGeneratorService, nameService: NameGeneratorService); ngAfterViewInit(): void; initializeDefaultInputValues(): void; keydown($event: KeyboardEvent): void; checkWidthAndHeight(): void; clickToggle(): void; executeToggle(): void; hasText(): void; dispatchCallback(): void; findParentOfChildren(listModals: any): any; }