تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
blockly > IDragger > onDragStart
أسلوب IDragger.onDragStart()
يتعامل مع أي بدء تشغيل سحب.
Signature:
onDragStart(e: PointerEvent): void;
المعلمات
المعلمة |
النوع |
الوصف |
e |
PointerEvent |
PointerEvent الذي بدأ السحب. |
المرتجعات:
فراغ
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-09-12 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 2024-09-12 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `onDragStart` method is called when a drag operation begins, signaling the start of dragging a block."],["It receives a PointerEvent object (`e`) containing information about the event that initiated the drag."],["This method is part of the `IDragger` interface in Blockly and is responsible for handling any setup required at the start of a drag."],["The `onDragStart` method does not return any value (void)."]]],["The `onDragStart` method, part of the `IDragger` interface, manages the initiation of a drag operation. It accepts a single parameter, `e`, which is a `PointerEvent` object representing the event that triggered the drag. The method's purpose is to handle the beginning of the drag action, and it doesn't return any value (void).\n"]]