blockly > Descrizione comando > unbindMouseEvents
Slega gli eventi del mouse della descrizione comando dall'elemento SVG.
Firma:
export declare function unbindMouseEvents(element: Element | null): void;
Parametri
Parametro |
Tipo |
Descrizione |
elemento |
Elemento | null |
Elemento SVG a cui è associata la descrizione comando. |
Resi:
null
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-08-21 UTC.
[null,null,["Ultimo aggiornamento 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"]]