Gaia/Settings/docs/Keyboard Settings

From MozillaWiki
< Gaia‎ | Settings‎ | docs
Revision as of 03:10, 26 June 2015 by Crh0716 (talk | contribs) (Created page with "elements/keyboard.html elements/keyboard_selection_add_more.html '''"KeyboardContext"'''(js/modules/keyboard_context) is the core of the keyboard settings panels. It provides...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

elements/keyboard.html elements/keyboard_selection_add_more.html

"KeyboardContext"(js/modules/keyboard_context) is the core of the keyboard settings panels. It provides methods for retrieving installed keyboards and the currently enabled layouts. The information is provided using observable arrays. Whenever there is a new keyboard installed/uninstalled or a layout is enabled/disabled, "KeyboardHelper"(shared/keyboard_helper) notifies KeyboardContext and then it updates the corresponding arrays. The UI changes along with the arrays because we are using "ListView"(js/modules/mvvm/list_view) to render them.