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

Method showHint

packages/core/ui/text-view/index.ios.ts:241–249  ·  view source on GitHub ↗
(hint: string)

Source from the content-addressed store, hash-verified

239 }
240
241 public showHint(hint: string) {
242 const nativeView = this.nativeTextViewProtected;
243
244 this._isShowingHint = true;
245 this._refreshColor();
246
247 const hintAsString: string = hint === null || hint === undefined ? '' : hint.toString();
248 nativeView.text = hintAsString;
249 }
250
251 public showText() {
252 this._isShowingHint = false;

Callers 1

_refreshHintStateMethod · 0.95

Calls 2

_refreshColorMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected