MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / focus

Method focus

packages/core/ui/core/view/index.android.ts:984–990  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

982 }
983
984 public focus(): boolean {
985 if (this.nativeViewProtected) {
986 return this.nativeViewProtected.requestFocus();
987 }
988
989 return false;
990 }
991
992 public override _setDefaultPaddings(insets: android.graphics.Rect): void {
993 if (insets) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected