---
layout: api
title: "v2.1.2 JavaScript Library: L.PosAnimation"
categories: api
version: v2.1.2
permalink: /api/v2.1.2/l-posanimation/
---
<h2 id="posanimation">PosAnimation</h2>

<p>Used internally for panning animations, utilizing CSS3 Transitions for modern browsers and a timer fallback for IE6-9.</p>

<pre><code class="javascript">var fx = new L.PosAnimation();
fx.run(el, [300, 500], 0.5);</code></pre>

<h3>Creation</h3>

<table data-id='posanimation'>
	<tr>
<th class="width200">Creation</