調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
blockly > タップ
タッチ名前空間
関数
変数
変数 |
説明 |
TOUCH_ENABLED |
ブラウザでタップ操作が有効になっているかどうか。Closure の goog.events.BrowserFeature.TOUCH_ENABLED からコピー |
TOUCH_MAP |
TOUCH_MAP ルックアップ ディクショナリでは、呼び出す追加のタッチイベントをマウスイベントとともに指定します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-02 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"]],["最終更新日 2023-12-02 UTC。"],[[["The Blockly Touch namespace manages touch interactions and gestures within the Blockly environment."],["It provides functions to track and identify touch streams, ensuring only one touch interaction is active at a time."],["The namespace includes variables for detecting touch capabilities and mapping touch events to corresponding mouse events for cross-platform compatibility."],["Developers can utilize the Touch namespace's functions to control touch behavior and integrate touch-based interactions in their Blockly applications."]]],["The Touch namespace in Blockly manages touch interactions. Key actions include checking and clearing a touch identifier to track a specific touch stream, ensuring only one drag/gesture is active. `getTouchIdentifierFromEvent` retrieves the pointer identifier, while `shouldHandleEvent` determines if an event should be processed. `TOUCH_ENABLED` indicates browser touch capability and `TOUCH_MAP` defines additional touch events related to mouse actions. These functions are for managing how Blockly handles various touch interactions.\n"]]