2019-06-28 16:27:36 +00:00
|
|
|
caption: tm-focus-selector
|
|
|
|
created: 20190628162542132
|
|
|
|
modified: 20190628162542132
|
|
|
|
tags: Messages
|
|
|
|
title: WidgetMessage: tm-focus-selector
|
|
|
|
type: text/vnd.tiddlywiki
|
|
|
|
|
|
|
|
The `tm-focus-selector` message sets the focus to the DOM element identified by the selector in the `param` parameter.
|
|
|
|
|
|
|
|
|!Name |!Description |
|
|
|
|
|param |Selector identifying the DOM element to be focussed |
|
2019-08-06 12:12:21 +00:00
|
|
|
|paramObject |Optional hashmap of additional parameters passed to the `focus` command |
|
2019-06-28 16:27:36 +00:00
|
|
|
|
2019-08-06 12:12:21 +00:00
|
|
|
<<.tip """preventScroll="true" prevents the browser from scrolling to the focused element""">>
|