blockly > utils > browserEvents > isTargetInput
هل تعرض القيمة "صحيح" إذا كان هذا الحدث يستهدف أداة لإدخال النص؟
Signature:
export declare function isTargetInput(e: Event): boolean;
المعلمات
المعلمة |
النوع |
الوصف |
e |
الحدث |
حدث. |
المرتجعات:
منطقي
True إذا تم إدخال النص.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-09-10 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-09-10 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Determines if a given event is targeting a text input element like a textbox."],["Accepts an event object as input for analysis."],["Returns `true` if the event targets a text input, otherwise returns `false`."]]],["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"]]