調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
ブロックする >ツールチップ >unbindMouseEvents
ツールチップのマウスイベントを SVG 要素からバインド解除します。
署名:
export declare function unbindMouseEvents(element: Element | null): void;
パラメータ
パラメータ |
型 |
説明 |
要素 |
要素 |null |
ツールチップがバインドされる SVG 要素。 |
戻り値:
void
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-21 UTC。
[null,null,["最終更新日 2024-08-21 UTC。"],[[["`Tooltip.unbindMouseEvents()` removes mouse event listeners associated with tooltips from a given SVG element."],["This function accepts an SVG element (or null) as input and does not return any value."],["Primarily used to detach tooltip interactions, ensuring they no longer trigger on mouse events over the specified element."]]],["The `Tooltip.unbindMouseEvents()` function removes tooltip-related mouse event listeners from a specified SVG element. It takes one parameter, `element`, which represents the SVG element (or null) from which the events should be removed. This function effectively stops tooltips from being triggered by mouse interactions on the designated element. The function returns nothing (`void`) after execution.\n"]]