Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
2.1 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | {"version":3,"file":"ink-bar.d.ts","sources":["ink-bar.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA","sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { ElementRef, InjectionToken, NgZone } from '@angular/core';\n/**\n * Interface for a a MatInkBar positioner method, defining the positioning and width of the ink\n * bar in a set of tabs.\n */\nexport interface _MatInkBarPositioner {\n (element: HTMLElement): {\n left: string;\n width: string;\n };\n}\n/** Injection token for the MatInkBar's Positioner. */\nexport declare const _MAT_INK_BAR_POSITIONER: InjectionToken<_MatInkBarPositioner>;\n/**\n * The default positioner function for the MatInkBar.\n * @docs-private\n */\nexport declare function _MAT_INK_BAR_POSITIONER_FACTORY(): _MatInkBarPositioner;\n/**\n * The ink-bar is used to display and animate the line underneath the current active tab label.\n * @docs-private\n */\nexport declare class MatInkBar {\n private _elementRef;\n private _ngZone;\n private _inkBarPositioner;\n _animationMode?: string | undefined;\n constructor(_elementRef: ElementRef<HTMLElement>, _ngZone: NgZone, _inkBarPositioner: _MatInkBarPositioner, _animationMode?: string | undefined);\n /**\n * Calculates the styles from the provided element in order to align the ink-bar to that element.\n * Shows the ink bar if previously set as hidden.\n * @param element\n */\n alignToElement(element: HTMLElement): void;\n /** Shows the ink bar. */\n show(): void;\n /** Hides the ink bar. */\n hide(): void;\n /**\n * Sets the proper styles to the ink bar element.\n * @param element\n */\n private _setStyles;\n}\n"]} |
---|
Note:
See
TracBrowser
for help on using the repository browser.