mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-21 07:47:40 +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
38 lines
736 B
Markdown
38 lines
736 B
Markdown
---
|
|
title: keyman.controlblurred Event
|
|
---
|
|
|
|
## Summary
|
|
|
|
Called when an input element loses focus.
|
|
|
|
## Syntax
|
|
|
|
```js
|
|
keyman.addEventListener('controlblurred', function(eventProperties) {
|
|
...
|
|
});
|
|
```
|
|
|
|
### Parameters
|
|
|
|
`eventProperties`
|
|
: Type: `object`
|
|
: An object with the following properties:
|
|
|
|
: - `target` - the element losing focus
|
|
|
|
: - `event` - the original event object generated by the web page.
|
|
|
|
: - `isActivating` - the activation state of the UI element(s).
|
|
|
|
### Return Value
|
|
|
|
`boolean`
|
|
: `true` if the event should continue processing, `false` if it should
|
|
not. Your event handler should return `true` aside from exceptional
|
|
circumstances.
|
|
|
|
## Description
|
|
|
|
This event is used by various KeymanWeb UI elements.
|