調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
ブロックする >BlockSvg >startDrag
BlockSvg.startDrag() メソッド
ブロックのドラッグを開始します。
署名:
startDrag(e?: PointerEvent): void;
パラメータ
パラメータ |
型 |
説明 |
e |
PointerEvent |
(省略可) |
戻り値:
void
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-12 UTC。
[null,null,["最終更新日 2024-09-12 UTC。"],[[["The `startDrag` method initiates a drag operation on a BlockSvg object within Blockly."],["It optionally takes a PointerEvent as input, providing details about the drag initiation."],["Executing this method results in the visual dragging of the block within the Blockly workspace."],["This function is primarily used for user interactions where a block is dragged and repositioned."]]],["The `startDrag` method, part of the `BlockSvg` class, initiates a drag operation on a block. It accepts an optional `PointerEvent` parameter (`e`). This method, when called, begins the dragging interaction. The method returns nothing (`void`). The core action is starting the dragging process on a block element. No specific details about the nature of the drag are mentioned.\n"]]