clarity-angular
Version:
Angular components for Clarity
26 lines (25 loc) • 975 B
TypeScript
import { EventEmitter } from "@angular/core";
import { ButtonHubService } from "./providers/button-hub";
import { WizardNavigationService } from "./providers/wizard-navigation";
export declare const DEFAULT_BUTTON_TYPES: any;
export declare const CUSTOM_BUTTON_TYPES: any;
export declare class WizardButton {
navService: WizardNavigationService;
buttonService: ButtonHubService;
type: string;
disabled: boolean;
hidden: boolean;
wasClicked: EventEmitter<string>;
constructor(navService: WizardNavigationService, buttonService: ButtonHubService);
private checkDefaultAndCustomType(valueToCheck, typeToLookUp);
readonly isCancel: boolean;
readonly isNext: boolean;
readonly isPrevious: boolean;
readonly isFinish: boolean;
readonly isDanger: boolean;
readonly isPrimaryAction: boolean;
readonly _disabledAttribute: string | null;
readonly isDisabled: boolean;
readonly isHidden: boolean;
click(): void;
}