Move your mouse cursor to the Result Form page (Figure 19), and release the mouse button over it.
将您的鼠标移动到Result Form页面(图19)上,然后在它上面释放鼠标按钮。
When you release the mouse button over a destination element, the done() method of highlighting_drag_handler swaps the two elements.
当在目标元素之上释放鼠标按钮时,highlighting_drag_handler 的 done() 方法就会切换这两个元素。
For example, if you want to change fonts on a button when the mouse is over it and the button is pressed, you use a state value of MOUSE_OVER and pressed.
例如,如果您想在鼠标位于按钮之上以及按钮被按下的时候改变按钮上的字体,那么可以使用状态值MOUSE_OVER and PRESSED。
应用推荐