ng2-button-loader
Version:
Button with loader for angualr 2
20 lines • 603 B
TypeScript
import { OnInit, ElementRef } from '@angular/core';
import { ButtonState } from './button-state';
export declare class ButtonSaveComponent implements OnInit {
private element;
private static instances;
id: string;
disabled: boolean;
withError: boolean;
textSuccess: string;
textError: string;
type: string;
state: ButtonState;
buttonState: typeof ButtonState;
static timeoutMessages: number;
private loaderImgUlr;
static setState(id: string, state: ButtonState): void;
onClick(): void;
constructor(element: ElementRef);
ngOnInit(): void;
}