Options

layoutCandidatesCaseSensitiveMatch

Determines whether layout candidate match should be case sensitive. When set to true, candidate matching will be case-sensitive, otherwise it will be case-insensitive.

1let keyboard = new SimpleKeyboard({
2 enableLayoutCandidates: true,
3 layoutCandidates: {
4 "a": "á à â ä ã"
5 },
6 layoutCandidatesCaseSensitiveMatch: true
7});
8
9// With case-sensitive matching enabled:
10// Typing 'A' will not show candidates for 'a'
11// Only exact case matches will trigger candidates