File tree 5 files changed +0
-28
lines changed
goldens/public-api/animations/browser
packages/animations/browser
5 files changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ export abstract class AnimationDriver {
17
17
abstract containsElement(elm1 : any , elm2 : any ): boolean ;
18
18
abstract getParentElement(element : unknown ): unknown ;
19
19
// @deprecated (undocumented)
20
- abstract matchesElement(element : any , selector : string ): boolean ;
21
- // @deprecated (undocumented)
22
20
static NOOP: AnimationDriver ;
23
21
// (undocumented)
24
22
abstract query(element : any , selector : string , multi : boolean ): any [];
@@ -38,8 +36,6 @@ export class NoopAnimationDriver implements AnimationDriver {
38
36
containsElement(elm1 : any , elm2 : any ): boolean ;
39
37
// (undocumented)
40
38
getParentElement(element : unknown ): unknown ;
41
- // @deprecated (undocumented)
42
- matchesElement(_element : any , _selector : string ): boolean ;
43
39
// (undocumented)
44
40
query(element : any , selector : string , multi : boolean ): any [];
45
41
// (undocumented)
Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ export class MockAnimationDriver implements AnimationDriver {
22
22
// (undocumented)
23
23
static log: AnimationPlayer [];
24
24
// (undocumented)
25
- matchesElement(_element : any , _selector : string ): boolean ;
26
- // (undocumented)
27
25
query(element : any , selector : string , multi : boolean ): any [];
28
26
// (undocumented)
29
27
validateAnimatableStyleProperty(prop : string ): boolean ;
Original file line number Diff line number Diff line change @@ -24,14 +24,6 @@ export class NoopAnimationDriver implements AnimationDriver {
24
24
return validateStyleProperty ( prop ) ;
25
25
}
26
26
27
- /**
28
- * @deprecated unused
29
- */
30
- matchesElement ( _element : any , _selector : string ) : boolean {
31
- // This method is deprecated and no longer in use so we return false.
32
- return false ;
33
- }
34
-
35
27
/**
36
28
*
37
29
* @returns Whether elm1 contains elm2.
@@ -91,11 +83,6 @@ export abstract class AnimationDriver {
91
83
92
84
abstract validateAnimatableStyleProperty ?: ( prop : string ) => boolean ;
93
85
94
- /**
95
- * @deprecated No longer in use. Will be removed.
96
- */
97
- abstract matchesElement ( element : any , selector : string ) : boolean ;
98
-
99
86
abstract containsElement ( elm1 : any , elm2 : any ) : boolean ;
100
87
101
88
/**
Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ export class WebAnimationsDriver implements AnimationDriver {
44
44
return true ;
45
45
}
46
46
47
- matchesElement ( _element : any , _selector : string ) : boolean {
48
- // This method is deprecated and no longer in use so we return false.
49
- return false ;
50
- }
51
-
52
47
containsElement ( elm1 : any , elm2 : any ) : boolean {
53
48
return containsElement ( elm1 , elm2 ) ;
54
49
}
Original file line number Diff line number Diff line change @@ -33,10 +33,6 @@ export class MockAnimationDriver implements AnimationDriver {
33
33
return ɵvalidateWebAnimatableStyleProperty ( cssProp ) ;
34
34
}
35
35
36
- matchesElement ( _element : any , _selector : string ) : boolean {
37
- return false ;
38
- }
39
-
40
36
containsElement ( elm1 : any , elm2 : any ) : boolean {
41
37
return containsElement ( elm1 , elm2 ) ;
42
38
}
You can’t perform that action at this time.
0 commit comments