self:focus

Client

Focuses the webview, directing keyboard input to it


Syntax

local status = self:focus()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Focus a webview to capture keyboard input
local entity = core.webview.create()

entity:focus()

On this page