JavaScript Reference/Event Handlers Reference/onLoseCapture
Содержание
"onLoseCapture" Example
<source lang="javascript">
<head> </head> <body onload="captureMode.setCapture()"
onclick="captureMode.releaseCapture()">
Mouse capture is currently turned on. To terminate mouse capture mode, click this page!
</body>
</source>
"onLoseCapture" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<a> <address> | | |<applet> <area> | | | |
| ||| |<body>
| | |<button>| | | | | |
| |<dir><custom> | | |
| | | |
- | | | <embed> | | |<fieldset> | | |<form> <hn> | | |
|| |<img> <input type="button"> | | |<input type="checkbox"> <input type="file"> | | |<inputtype="hidden"> <input type="image"> | | |<input type="password"> <inputtype="radio"> | | |<input type="reset"> <input type="submit"> | | |<input type="text"> | | |<label> <legend> |
| |- <listing> | | |<map> <marquee> | | |<menu> <nobr> | | |<noframes> <object> | | |
<option> | | |
| | || | |<select> | | || | | | | || | |<tbody>
| | |<textarea> <tfoot> |
| |<thead> | | | | | | | | | <xmp> | +----------------+--------------------------------------------------------------+ </source>
"onLoseCapture" Properties
<source lang="javascript"> +----------------+--------------------------------------------------------------+ | Properties |altKey altLeft | | |clientX clientY | | |ctrlKey ctrlLeft | | |offsetX offsetY | | |screenX screenY | | |shiftKey shiftLeft | | |srcElement type | | |x y | +----------------+--------------------------------------------------------------+
</source>
"onLoseCapture" Syntax and Note
<source lang="javascript"> Note:
This event fires when an element that is currently trapping mouse events loses that ability.
Syntax:
</source>