This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

WidgetMessage: tm-focus-selector

 28th June 2019 at 4:25pm

The tm-focus-selector message sets the focus to the DOM element identified by the selector in the param parameter.

NameDescription
paramSelector identifying the DOM element to be focussed
paramObjectOptional hashmap of additional parameters to be passed to the focus() method

Use preventScroll="true" to prevent the browser from scrolling to the focused element