ngx-mat-lib
Version:
A bunch of utilities and components to use in your Angular 7+ apps!
24 lines (23 loc) • 827 B
TypeScript
import { ElementRef, NgZone } from "@angular/core";
import { _MatInkBarPositioner } from "@angular/material/tabs";
export declare class XmatInkBarDirective {
private _elementRef;
private _ngZone;
private _inkBarPositioner;
constructor(_elementRef: ElementRef<HTMLElement>, _ngZone: NgZone, _inkBarPositioner: _MatInkBarPositioner);
/**
* Calculates the styles from the provided element in order to align the ink-bar to that element.
* Shows the ink bar if previously set as hidden.
* @param element
*/
alignToElement(element: HTMLElement): void;
/** Shows the ink bar. */
show(): void;
/** Hides the ink bar. */
hide(): void;
/**
* Sets the proper styles to the ink bar element.
* @param element
*/
private _setStyles;
}