mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-15 21:29:23 +00:00
Deprecate the following obsolete functions and properties: * `keyman.helpURL` * `keyman.util.rgba` * `keyman.util.toFloat` * `keyman.util.toNumber` * `keyman.util.toNzString` Use correct language for code blocks in Keyman Engine for Web documentation. Test-bot: skip
28 lines
516 B
Markdown
28 lines
516 B
Markdown
---
|
|
title: createElement
|
|
---
|
|
|
|
## Summary
|
|
|
|
Create an unselectable HTML element for the *KeymanWeb* On-Screen keyboard and User Interfaces.
|
|
|
|
## Syntax
|
|
|
|
```js
|
|
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.
|