source: trip-planner-front/node_modules/@angular/cdk/esm2015/stepper/step-header.js@ 6c1585f

Last change on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.2 KB
Line 
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 */
8import { Directive, ElementRef } from '@angular/core';
9export class CdkStepHeader {
10 constructor(_elementRef) {
11 this._elementRef = _elementRef;
12 }
13 /** Focuses the step header. */
14 focus() {
15 this._elementRef.nativeElement.focus();
16 }
17}
18CdkStepHeader.decorators = [
19 { type: Directive, args: [{
20 selector: '[cdkStepHeader]',
21 host: {
22 'role': 'tab',
23 },
24 },] }
25];
26CdkStepHeader.ctorParameters = () => [
27 { type: ElementRef }
28];
29//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcC1oZWFkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvY2RrL3N0ZXBwZXIvc3RlcC1oZWFkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsT0FBTyxFQUFDLFNBQVMsRUFBRSxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFVcEQsTUFBTSxPQUFPLGFBQWE7SUFDeEIsWUFBbUIsV0FBb0M7UUFBcEMsZ0JBQVcsR0FBWCxXQUFXLENBQXlCO0lBQUcsQ0FBQztJQUUzRCwrQkFBK0I7SUFDL0IsS0FBSztRQUNILElBQUksQ0FBQyxXQUFXLENBQUMsYUFBYSxDQUFDLEtBQUssRUFBRSxDQUFDO0lBQ3pDLENBQUM7OztZQVpGLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsaUJBQWlCO2dCQUMzQixJQUFJLEVBQUU7b0JBQ0osTUFBTSxF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