संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकली > utils > browserEvents > isTargetInput
अगर यह इवेंट किसी टेक्स्ट इनपुट विजेट को टारगेट कर रहा है, तो 'सही' दिखाता है?
हस्ताक्षर:
export declare function isTargetInput(e: Event): boolean;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
e |
इवेंट |
कोई इवेंट. |
लौटाए जाने वाले प्रॉडक्ट:
बूलियन
अगर टेक्स्ट इनपुट हो, तो सही है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],["The `utils.browserEvents.isTargetInput()` function determines if a given event targets a text input widget. It accepts an `Event` object as a parameter, denoted as `e`. The function's purpose is to evaluate the event target. It returns a boolean value: `true` if the event targets a text input field and `false` otherwise. This function is designed to check whether the target of a browser event is any kind of text input.\n"]]