次の方法で共有


setFocusStyling method

Sets an element to a focused state.

Note  These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

 

 

Syntax

DiagnosticsEmulation.setFocusStyling(element, focus);

Parameters

  • element [in]
    Type: Node

    HTML page element.

  • focus [in]
    Type: bool

    True to set the element to a focus state, false otherwise.

Return value

This method does not return a value.

See also

DiagnosticsEmulation