@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
33 lines (32 loc) • 1.46 kB
TypeScript
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
import { Observable } from 'rxjs';
import { ActionBarComponent } from '../../containers/action-bar/action-bar.component';
import { ActionItemComponent } from '../action-item.component';
import { ActionButtonAsync } from './action-button-async';
import * as i0 from "@angular/core";
export interface ActionButtonAsyncExecuteArgs {
execute: Observable<any>;
target: any;
}
export declare class ActionButtonAsyncComponent extends ActionItemComponent implements AfterViewInit, OnDestroy {
private actionBarComponent;
/**
* Event emitter fired when action button is clicked.
*/
execute: EventEmitter<ActionButtonAsyncExecuteArgs>;
/**
* Constructor for ActionButtonAsyncComponent
*/
constructor(actionBarComponent: ActionBarComponent);
/**
* Callback method run after ActionButtonAsyncComponent view has been initialized.
*/
ngAfterViewInit(): void;
/**
* Callback method run after ActionButtonAsyncComponent has been destroyed.
*/
ngOnDestroy(): void;
protected createActionItem(): ActionButtonAsync<any>;
static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonAsyncComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonAsyncComponent, "sme-action-button-async:not([type])", never, {}, { "execute": "execute"; }, never, never, false, never>;
}