supportsAnimationApi top-level property

bool supportsAnimationApi
final

Whether the browser supports the Web Animations API.

Implementation

final bool supportsAnimationApi =
    js_util.hasProperty(DivElement(), 'animate') &&
        !js.context.hasProperty('__acxDisableWebAnimationsApi');