update website

This commit is contained in:
Travis CI
2015-10-23 10:22:37 +00:00
parent 47c730871a
commit 04f4ce49d0
+2 -2
View File
@@ -291,7 +291,7 @@ oscillate around the end value. In the above example, we would add
See the below gif for an example of where in your interface you might
use this.</p><p><img src="/react-native/img/Rebound.gif" alt=""> Screenshot from
<a href="https://github.com/brentvatne/react-native-scrollable-tab-view" target="_blank">react-native-scrollable-tab-view</a>.
You can run a simlar example <a href="https://rnplay.org/apps/qHU_5w" target="_blank">here</a>.</p><h4><a class="anchor" name="a-sidenote-about-setnativeprops"></a>A sidenote about setNativeProps <a class="hash-link" href="#a-sidenote-about-setnativeprops">#</a></h4><p>As mentioned <a href="/react-native/docs/direct-manipulation.html" target="">in the Direction Manipulation section</a>,
You can run a similar example <a href="https://rnplay.org/apps/qHU_5w" target="_blank">here</a>.</p><h4><a class="anchor" name="a-sidenote-about-setnativeprops"></a>A sidenote about setNativeProps <a class="hash-link" href="#a-sidenote-about-setnativeprops">#</a></h4><p>As mentioned <a href="/react-native/docs/direct-manipulation.html" target="">in the Direction Manipulation section</a>,
<code>setNativeProps</code> allows us to modify properties of native-backed
components (components that are actually backed by native views, unlike
composite components) directly, without having to <code>setState</code> and
@@ -353,7 +353,7 @@ make them customizable, React Native exposes a
<span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token keyword">var</span> CustomSceneConfig <span class="token operator">=</span> Object<span class="token punctuation">.</span><span class="token function">assign<span class="token punctuation">(</span></span><span class="token punctuation">{</span><span class="token punctuation">}</span><span class="token punctuation">,</span> BaseConfig<span class="token punctuation">,</span> <span class="token punctuation">{</span>
<span class="token comment" spellcheck="true"> // A very tighly wound spring will make this transition fast
<span class="token comment" spellcheck="true"> // A very tightly wound spring will make this transition fast
</span> springTension<span class="token punctuation">:</span> <span class="token number">100</span><span class="token punctuation">,</span>
springFriction<span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>