@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
59 lines (58 loc) • 2.16 kB
TypeScript
import { DoCheck, Injector, OnChanges, SimpleChanges } from '@angular/core';
import { CoreBaseComponent } from '../../../../controls/common/base.component';
import { ActionBarComponent } from './action-bar.component';
import * as i0 from "@angular/core";
export declare class ActionBarDirective extends CoreBaseComponent implements OnChanges, DoCheck {
/**
* The source name to use for logging
*/
protected get logSourceName(): string;
/**
* The ActionBarComponent to attach to.
*/
smeActionBar: ActionBarComponent;
/**
* Indicates if the action bar should appear collapsed (defaults to false).
*/
smeActionBarCompact: boolean;
/**
* Indicates if the action bar should appear at all (defaults to true).
*/
smeActionBarAvailable: boolean;
private hovered;
private focused;
private offsetTop;
private offsetLeft;
private offsetParent;
private clientWidth;
/**
* Constructs a new instance of the ActionBarDirective
* @param injector The injector for the sme base component
*/
constructor(injector: Injector);
/**
* Callback method that executes after the default change-detector runs.
*/
ngDoCheck(): void;
/**
* Implementation of angular OnChanges interface.
* On every input change, we recalculate the clamp.
*/
ngOnChanges(changes: SimpleChanges): void;
private repositionActionBar;
private showHideActionBar;
/**
* Host listeners for window resize events.
*/
onWindowResize(event: any): void;
/**
* Host listeners for focus events.
*/
onFocusEvent(event: Event): void;
/**
* Host listeners for mouse events.
*/
onMouseEvent(event: Event): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ActionBarDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ActionBarDirective, "[smeActionBar]", never, { "smeActionBar": "smeActionBar"; "smeActionBarCompact": "smeActionBarCompact"; "smeActionBarAvailable": "smeActionBarAvailable"; }, {}, never, never, false, never>;
}