File tree Expand file tree Collapse file tree 5 files changed +0
-28
lines changed
goldens/public-api/animations/browser
packages/animations/browser Expand file tree Collapse file tree 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 {
1717 abstract containsElement(elm1 : any , elm2 : any ): boolean ;
1818 abstract getParentElement(element : unknown ): unknown ;
1919 // @deprecated (undocumented)
20- abstract matchesElement(element : any , selector : string ): boolean ;
21- // @deprecated (undocumented)
2220 static NOOP: AnimationDriver ;
2321 // (undocumented)
2422 abstract query(element : any , selector : string , multi : boolean ): any [];
@@ -38,8 +36,6 @@ export class NoopAnimationDriver implements AnimationDriver {
3836 containsElement(elm1 : any , elm2 : any ): boolean ;
3937 // (undocumented)
4038 getParentElement(element : unknown ): unknown ;
41- // @deprecated (undocumented)
42- matchesElement(_element : any , _selector : string ): boolean ;
4339 // (undocumented)
4440 query(element : any , selector : string , multi : boolean ): any [];
4541 // (undocumented)
Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ export class MockAnimationDriver implements AnimationDriver {
2222 // (undocumented)
2323 static log: AnimationPlayer [];
2424 // (undocumented)
25- matchesElement(_element : any , _selector : string ): boolean ;
26- // (undocumented)
2725 query(element : any , selector : string , multi : boolean ): any [];
2826 // (undocumented)
2927 validateAnimatableStyleProperty(prop : string ): boolean ;
Original file line number Diff line number Diff line change @@ -24,14 +24,6 @@ export class NoopAnimationDriver implements AnimationDriver {
2424 return validateStyleProperty ( prop ) ;
2525 }
2626
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-
3527 /**
3628 *
3729 * @returns Whether elm1 contains elm2.
@@ -91,11 +83,6 @@ export abstract class AnimationDriver {
9183
9284 abstract validateAnimatableStyleProperty ?: ( prop : string ) => boolean ;
9385
94- /**
95- * @deprecated No longer in use. Will be removed.
96- */
97- abstract matchesElement ( element : any , selector : string ) : boolean ;
98-
9986 abstract containsElement ( elm1 : any , elm2 : any ) : boolean ;
10087
10188 /**
Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ export class WebAnimationsDriver implements AnimationDriver {
4444 return true ;
4545 }
4646
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-
5247 containsElement ( elm1 : any , elm2 : any ) : boolean {
5348 return containsElement ( elm1 , elm2 ) ;
5449 }
Original file line number Diff line number Diff line change @@ -33,10 +33,6 @@ export class MockAnimationDriver implements AnimationDriver {
3333 return ɵvalidateWebAnimatableStyleProperty ( cssProp ) ;
3434 }
3535
36- matchesElement ( _element : any , _selector : string ) : boolean {
37- return false ;
38- }
39-
4036 containsElement ( elm1 : any , elm2 : any ) : boolean {
4137 return containsElement ( elm1 , elm2 ) ;
4238 }
You can’t perform that action at this time.
0 commit comments