truly-ui
Version:
Web Components for Desktop Applications.
39 lines • 1.82 kB
TypeScript
import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
import { I18nService } from '../i18n/i18n.service';
import * as i0 from "@angular/core";
export declare class TlButton implements OnInit {
button: ElementRef;
private i18nService;
text: string;
iconAddonBefore: string;
iconAddonAfter: string;
iconBeforeText: string;
iconAfterText: string;
height: string;
width: string;
disabled: boolean;
flatBorder: boolean;
colorIconBefore: string;
colorIconAfter: string;
template: TemplateRef<any>;
outline: boolean;
color: string;
loaderColor: string;
isLoading: boolean;
indexShortcut: number;
set textLoading(text: string);
get disabledButton(): boolean;
get textLoading(): string;
set modalContext(modal: any);
get modalContext(): any;
selected: EventEmitter<any>;
buttonElement: ElementRef;
private _textLoading;
private _modalContext;
constructor(button: ElementRef, i18nService: I18nService);
ngOnInit(): void;
setFocus(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TlButton, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TlButton, "tl-button", never, { "text": "text"; "iconAddonBefore": "iconAddonBefore"; "iconAddonAfter": "iconAddonAfter"; "iconBeforeText": "iconBeforeText"; "iconAfterText": "iconAfterText"; "height": "height"; "width": "width"; "disabled": "disabled"; "flatBorder": "flatBorder"; "colorIconBefore": "colorIconBefore"; "colorIconAfter": "colorIconAfter"; "template": "template"; "outline": "outline"; "color": "color"; "loaderColor": "loaderColor"; "isLoading": "isLoading"; "indexShortcut": "indexShortcut"; "textLoading": "textLoading"; }, { "selected": "selected"; }, never, never, false, never>;
}
//# sourceMappingURL=button.d.ts.map