1
0
forked from GitHub/gf-core

minibar-api.html: documentation fixes

This commit is contained in:
hallgren
2012-09-17 15:52:57 +00:00
parent 900067b109
commit fa3c87fb64

View File

@@ -160,13 +160,14 @@ HTML file, you would normally include at least the following:
<h3>Properties and user interface</h3> <h3>Properties and user interface</h3>
The <code>input</code> object created by the <code>Input</code> constructor The <code>input</code> object created by the <code>Input</code> constructor
contains two field that the caller should add to the user interface: contains the following fields that the caller should add to the user interface:
<ul> <ul>
<li><code>input.main</code> is the main user interface where the current <li><code>input.main</code> is the main user interface where the current
input and the refrigerator magnets are displayed. input and the refrigerator magnets are displayed.
<li><code>input.menus</code> contains the menu for selecting input language, <li><code>input.menus</code> contains the menu for selecting input language.
and buttons for deleting the last word, clearing the input and generating <li><code>input.buttons</code> contains
a random sentence (if enabled in the options) buttons for deleting the last word, clearing the input and generating
a random sentence (if enabled in the options).
</ul> </ul>
<h3>Methods</h3> <h3>Methods</h3>
@@ -218,9 +219,9 @@ HTML file, you would normally include at least the following:
<h3>Properties and user interface</h3> <h3>Properties and user interface</h3>
The <code>translations</code> object created by the The <code>translations</code> object created by the <code>Translations</code>
<code>Translations</code> constructor contains two field that the caller constructor contains the following fields that the caller should add to
should add to the user interface: the user interface:
<ul> <ul>
<li><code>translations.main</code> is the main user interface where the current <li><code>translations.main</code> is the main user interface where the current
translations are displayed. translations are displayed.
@@ -237,15 +238,16 @@ should add to the user interface:
with the languages available in the new grammar. with the languages available in the new grammar.
<li><code>translations.clear()</code> clears the main output area from old translations. <li><code>translations.clear()</code> clears the main output area from old translations.
<li><code>translations.translateFrom({from:<var>conc</var>,input:<var>string</var>})</code> <li><code>translations.translateFrom({from:<var>conc</var>,input:<var>string</var>})</code>
displays translations of the string given in the <code>input</code> displays translations of the text given in the <code>input</code>
property from the concrete syntax indicated by the <code>from</code>. property (as an array of words)
from the concrete syntax indicated by the <code>from</code>.
</ul> </ul>
<hr> <hr>
<div class=modtime> <div class=modtime>
<small class=modtime> <small class=modtime>
HTML <!-- hhmts start -->Last modified: Mon Aug 27 16:59:41 CEST 2012 <!-- hhmts end --> HTML <!-- hhmts start -->Last modified: Mon Sep 17 17:52:22 CEST 2012 <!-- hhmts end -->
</small> </small>
</div> </div>