fix(platform-browser): add @Injectable where it was missing (#22005)
PR Close #22005
This commit is contained in:
parent
7f9b1b78f6
commit
0a1a397cd7
|
@ -13,5 +13,6 @@ ts_library(
|
||||||
module_name = "@angular/animations/browser",
|
module_name = "@angular/animations/browser",
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/animations",
|
"//packages/animations",
|
||||||
|
"//packages/core",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,12 +6,14 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
import {AnimationPlayer, NoopAnimationPlayer} from '@angular/animations';
|
import {AnimationPlayer, NoopAnimationPlayer} from '@angular/animations';
|
||||||
|
import {Injectable} from '@angular/core';
|
||||||
|
|
||||||
import {containsElement, invokeQuery, matchesElement, validateStyleProperty} from './shared';
|
import {containsElement, invokeQuery, matchesElement, validateStyleProperty} from './shared';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @experimental
|
* @experimental
|
||||||
*/
|
*/
|
||||||
|
@Injectable()
|
||||||
export class NoopAnimationDriver implements AnimationDriver {
|
export class NoopAnimationDriver implements AnimationDriver {
|
||||||
validateStyleProperty(prop: string): boolean { return validateStyleProperty(prop); }
|
validateStyleProperty(prop: string): boolean { return validateStyleProperty(prop); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue