Skip to content

Commit

Permalink
deploy: a7d8ba6
Browse files Browse the repository at this point in the history
  • Loading branch information
forntoh committed Oct 1, 2024
1 parent ba7c3fd commit ad75e57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions overview/control/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ <h1>Controlling the menu<a class="headerlink" href="#controlling-the-menu" title
</ul>
<p><strong>UP/DOWN</strong> and <strong>ENTER</strong> are the most commonly used controls, as they allow you to navigate through the menu structure and select items.
The other controls are used in specific scenarios, such as when you need to adjust a value in an input item or delete characters in an input field.
The back controll can be bound to a menu item, allowing you to navigate back to the previous menu screen without having to use a dedicated “Back” button.</p>
<p>You can perform an action on the meny by calling the <code class="docutils literal notranslate"><span class="pre">process(cmd)</span></code> method on the menu object, where <code class="docutils literal notranslate"><span class="pre">cmd</span></code> is the control command you want to execute.
The back control can be bound to a menu item, allowing you to navigate back to the previous menu screen without having to use a dedicated “Back” button.</p>
<p>You can perform an action on the menu by calling the <code class="docutils literal notranslate"><span class="pre">process(cmd)</span></code> method on the menu object, where <code class="docutils literal notranslate"><span class="pre">cmd</span></code> is the control command you want to execute.
For example, to move the selection down in the menu, you can call <code class="docutils literal notranslate"><span class="pre">menu.process(DOWN)</span></code>.</p>
<p>Luckily, you don’t have to worry about implementing these controls yourself.
The menu system takes care of handling the controls and updating the menu state accordingly with the help of input adapters.
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit ad75e57

Please sign in to comment.