Updated docs for next

This commit is contained in:
Website Deployment Script
2017-01-10 02:16:33 +00:00
parent d9543cbc23
commit 728e877d34
+1 -1
View File
@@ -6,7 +6,7 @@ message or create a prompt for user input.</p><p>Creating an iOS alert:</p><div
<span class="token string">&#x27;Enter a value&#x27;</span><span class="token punctuation">,</span>
<span class="token keyword">null</span><span class="token punctuation">,</span>
text <span class="token operator">=</span><span class="token operator">&gt;</span> console<span class="token punctuation">.</span><span class="token function">log<span class="token punctuation">(</span></span><span class="token string">&quot;You entered &quot;</span><span class="token operator">+</span>text<span class="token punctuation">)</span>
<span class="token punctuation">)</span><span class="token punctuation">;</span></div><p>We recommend using the <a href="/docs/alert.html" target=""><code>Alert.alert</code></a> method for
<span class="token punctuation">)</span><span class="token punctuation">;</span></div><p>We recommend using the <a href="alert.html" target="_blank"><code>Alert.alert</code></a> method for
cross-platform support if you don&#x27;t need to create iOS-only prompts.</p></div><span><h3><a class="anchor" name="methods"></a>Methods <a class="hash-link" href="docs/alertios.html#methods">#</a></h3><div class="props"><div class="prop"><h4 class="methodTitle"><a class="anchor" name="alert"></a><span class="methodType">static </span>alert<span class="methodType">(title, message?, callbackOrButtons?, type?)</span> <a class="hash-link" href="docs/alertios.html#alert">#</a></h4><div><p>Create and display a popup alert.</p></div><div><strong>Parameters:</strong><table class="params"><thead><tr><th>Name and Type</th><th>Description</th></tr></thead><tbody><tr><td>title<br><br><div><span>string</span></div></td><td class="description"><div><p>The dialog&#x27;s title.</p></div></td></tr><tr><td>[message]<br><br><div><span>string</span></div></td><td class="description"><div><p>An optional message that appears below
the dialog&#x27;s title.</p></div></td></tr><tr><td>[callbackOrButtons]<br><br><div><span>?(() =&gt; void) | </span><span><a href="docs/alertios.html#buttonsarray">ButtonsArray</a></span></div></td><td class="description"><div><p>This optional argument should
be either a single-argument function or an array of buttons. If passed