blockly > Wskazówka > bindMouseEvents
Łączy wymagane zdarzenia myszy z elementem SVG.
Podpis:
export declare function bindMouseEvents(element: Element): void;
Parametry
Parametr |
Typ |
Opis |
element |
Element |
Element SVG, z którym ma zostać powiązana etykietka. |
Zwroty:
nieważne
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-09-12 UTC.
[null,null,["Ostatnia aktualizacja: 2024-09-12 UTC."],[[["The `bindMouseEvents` function associates necessary mouse events to an SVG element for tooltip functionality."],["It accepts an SVG element as input, to which the tooltip will be linked."],["This function is part of the Tooltip namespace within the Blockly library."],["Calling `bindMouseEvents` does not return any value (void)."]]],[]]