drawFocusIfNeeded method
The
CanvasRenderingContext2D.drawFocusIfNeeded()
method of the Canvas 2D API draws a focus ring around the current or given
path, if the
specified element is focused.
Implementation
external void drawFocusIfNeeded(
JSObject elementOrPath, [
Element element,
]);