共用方式為


onmovestart event

Fires when the object starts to move.

Syntax

HTML Attribute <element onmovestart = "handler(event)">
Event Property object.onmovestart = handler;
attachEvent Method object.attachEvent("onmovestart", handler)
addEventListener Method object.addEventListener("movestart", handler, useCapture)

 

Event information

Synchronous No
Bubbles Yes
Cancelable Yes

 

Event handler parameters

Standards information

There are no standards that apply here.

Remarks

The HTMLTextContainerEvents::onmovestart event fires only when an editable element starts to move.

This event can only be bound to absolutely positioned elements.

Calls the associated event handler if there is one.

To invoke this event, do one of the following:

  • Start to move the editable object.

The pEvtObj parameter is required for the following interfaces: