mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
Note: build.sh updated to make sure that test:help build action:target doesn't also call test.sh by adding `:_all` meta-target. Note: CI will need a new help-keyman-com.sh build step to deploy web engine help. Fixes: #12347
28 lines
515 B
Markdown
28 lines
515 B
Markdown
---
|
|
title: createElement
|
|
---
|
|
|
|
## Summary
|
|
|
|
Create an unselectable HTML element for the *KeymanWeb* On-Screen keyboard and User Interfaces.
|
|
|
|
## Syntax
|
|
|
|
```c
|
|
keyman.util.createElement(nodeName);
|
|
```
|
|
|
|
### Parameters
|
|
|
|
`nodeName`
|
|
: Type: `string`
|
|
: Name for the newly-created element.
|
|
|
|
### Return Value
|
|
|
|
`Element`
|
|
: The new, requested user-unselectable HTML element.
|
|
|
|
## Description
|
|
|
|
Elements created with this function do not capture the focus. Use `document.createElement` to create normally selectable elements.
|