tab-label-wrapper.d.ts 859 B

1234567891011121314151617181920212223242526
  1. /**
  2. * @license
  3. * Copyright Google LLC All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.io/license
  7. */
  8. import { ElementRef } from '@angular/core';
  9. import { CanDisable, CanDisableCtor } from '@angular/material/core';
  10. /** @docs-private */
  11. declare class MatTabLabelWrapperBase {
  12. }
  13. declare const _MatTabLabelWrapperMixinBase: CanDisableCtor & typeof MatTabLabelWrapperBase;
  14. /**
  15. * Used in the `mat-tab-group` view to display tab labels.
  16. * @docs-private
  17. */
  18. export declare class MatTabLabelWrapper extends _MatTabLabelWrapperMixinBase implements CanDisable {
  19. elementRef: ElementRef;
  20. constructor(elementRef: ElementRef);
  21. /** Sets focus on the wrapper element */
  22. focus(): void;
  23. getOffsetLeft(): number;
  24. getOffsetWidth(): number;
  25. }
  26. export {};