Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1078594 of AnimationEffectReadOnly

  • Revision slug: Web/API/AnimationEffectReadOnly
  • Revision title: AnimationEffectReadOnly
  • Revision id: 1078594
  • Created:
  • Creator: rachelnabors
  • Is current revision? No
  • Comment adding readonly markers

Revision Content

{{ SeeCompatTable() }} {{ APIRef("Web Animations API") }}

The AnimationEffectReadOnly interface of the Web Animations API defines current and future "Animation Effects" like {{domxref("KeyframeEffect")}}, which can be passed to {{domxref("Animation.Animation")}} objects for playing, and {{domxref("KeyframeEffectReadOnly")}} which is used by {{domxref("KeyframeEffect")}} (inherited by CSS Animations and Transitions).

Properties

{{domxref("AnimationEffectReadOnly.timing")}} {{readonlyInline}}
Returns the input timing properties specified for the Animation Effect.

Methods

{{domxref("AnimationEffectReadOnly.getComputedTiming()")}} {{readonlyInline}}
Returns the calculated timing properties for this Animation Effect. 

Specifications

Specification Status Comment
{{SpecName('Web Animations', '#the-animationeffectreadonly-interface', 'AnimationEffectReadOnly' )}} {{Spec2('Web Animations')}} Editor's draft.

Browser compatibility

{{CompatibilityTable}}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support {{CompatVersionUnknown}} {{CompatVersionUnknown}} {{CompatNo}} {{CompatNo}} {{CompatNo}}
Feature Android Android Webview Chrome for Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile
Basic support {{CompatUnknown}} {{CompatUnknown}} {{CompatUnknown}} {{ CompatUnknown}} {{CompatUnknown}} {{CompatNo}} {{CompatNo}} {{CompatNo}}

See also

  • Web Animations API
  • Inherited by {{domxref("KeyframeEffect")}} and {{domxref("KeyframeEffectReadOnly")}}

Revision Source

<p>{{ SeeCompatTable() }}&nbsp;{{ APIRef("Web Animations API") }}</p>

<p>The <code>AnimationEffectReadOnly</code> interface&nbsp;of the&nbsp;<a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API">Web Animations API</a>&nbsp;defines current and future&nbsp;"Animation Effects" like {{domxref("KeyframeEffect")}}, which can be passed to&nbsp;{{domxref("Animation.Animation")}} objects for playing,&nbsp;and {{domxref("KeyframeEffectReadOnly")}} which is used by {{domxref("KeyframeEffect")}}&nbsp;(inherited by <a href="/en-US/docs/Web/CSS/CSS_Animations">CSS Animations</a>&nbsp;and <a href="/en-US/docs/Web/CSS/CSS_Transitions">Transitions</a>).</p>

<h2 id="Properties">Properties</h2>

<dl>
 <dt>{{domxref("AnimationEffectReadOnly.timing")}}&nbsp;{{readonlyInline}}</dt>
 <dd>Returns the input timing properties specified for the Animation Effect.</dd>
</dl>

<h2 id="Methods">Methods</h2>

<dl>
 <dt>{{domxref("AnimationEffectReadOnly.getComputedTiming()")}}&nbsp;{{readonlyInline}}</dt>
 <dd>Returns the calculated timing properties for this Animation Effect.&nbsp;</dd>
</dl>

<dl>
</dl>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
  <tr>
   <td>{{SpecName('Web Animations', '#the-animationeffectreadonly-interface', 'AnimationEffectReadOnly' )}}</td>
   <td>{{Spec2('Web Animations')}}</td>
   <td>Editor's draft.</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{CompatibilityTable}}</p>

<div id="compat-desktop">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Chrome</th>
   <th>Firefox (Gecko)</th>
   <th>Internet Explorer</th>
   <th>Opera</th>
   <th>Safari (WebKit)</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>{{CompatVersionUnknown}}</td>
   <td>{{CompatVersionUnknown}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
  </tr>
 </tbody>
</table>
</div>

<div id="compat-mobile">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Android</th>
   <th>Android Webview</th>
   <th>Chrome for Android</th>
   <th>Firefox Mobile (Gecko)</th>
   <th>Firefox OS</th>
   <th>IE Mobile</th>
   <th>Opera Mobile</th>
   <th>Safari Mobile</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{ CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
   <td>{{CompatNo}}</td>
  </tr>
 </tbody>
</table>
</div>

<h2 id="See_also">See also</h2>

<ul>
 <li><a href="/en-US/docs/Web/API/Web_Animations_API">Web Animations API</a></li>
 <li>Inherited by {{domxref("KeyframeEffect")}} and&nbsp;{{domxref("KeyframeEffectReadOnly")}}</li>
</ul>
Revert to this revision