refactor(core): remove animation utilities from DomAdapters (#32278)

PR Close #32278
This commit is contained in:
Kara Erickson
2019-08-22 17:49:43 -07:00
committed by atscott
parent 7bcd42e7be
commit bceeeba405
8 changed files with 15 additions and 73 deletions

View File

@ -179,3 +179,7 @@ export function setCookie(name: string, value: string) {
// not clear other cookies.
document.cookie = encodeURIComponent(name) + '=' + encodeURIComponent(value);
}
export function supportsWebAnimation(): boolean {
return typeof(<any>Element).prototype['animate'] === 'function';
}