Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
2.5 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 | */
|
---|
8 | import { Directive, InjectionToken } from '@angular/core';
|
---|
9 | /**
|
---|
10 | * Injection token that can be used to reference instances of `MatSuffix`. It serves as
|
---|
11 | * alternative token to the actual `MatSuffix` class which could cause unnecessary
|
---|
12 | * retention of the class and its directive metadata.
|
---|
13 | */
|
---|
14 | export const MAT_SUFFIX = new InjectionToken('MatSuffix');
|
---|
15 | /** Suffix to be placed at the end of the form field. */
|
---|
16 | export class MatSuffix {
|
---|
17 | }
|
---|
18 | MatSuffix.decorators = [
|
---|
19 | { type: Directive, args: [{
|
---|
20 | selector: '[matSuffix]',
|
---|
21 | providers: [{ provide: MAT_SUFFIX, useExisting: MatSuffix }],
|
---|
22 | },] }
|
---|
23 | ];
|
---|
24 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VmZml4LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21hdGVyaWFsL2Zvcm0tZmllbGQvc3VmZml4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILE9BQU8sRUFBQyxTQUFTLEVBQUUsY0FBYyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXhEOzs7O0dBSUc7QUFDSCxNQUFNLENBQUMsTUFBTSxVQUFVLEdBQUcsSUFBSSxjQUFjLENBQVksV0FBVyxDQUFDLENBQUM7QUFFckUsd0RBQXdEO0FBS3hELE1BQU0sT0FBTyxTQUFTOzs7WUFKckIsU0FBUyxTQUFDO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