Not sure what you're asking exactly, but mouse events have a bubble phase
during which they pass upwards in the DOM to the root node.

If you listen for mouse events on the <g> tag (only), you'll receive them
there when they bubble up from the rect, ellipse, and line nodes.

On Jan 3, 2008 3:03 PM, Bishop, Michael W. CONTR J9C880 <
[EMAIL PROTECTED]> wrote:

> Given the following:
>
> <g pointer-events="visible">
>   <rect .../>
>   <ellipse .../>
>   <line .../>
> </g>
>
> I want to treat the inner elements of the <g> tag as a single entity.  I
> want to be able to drag and drop them as a single element.  I thought
> wrapping them in a <g> tag and having the <g> tag respond to pointer
> events was the solution.  Upon further research, it seems pointer events
> only work for graphics elements and a <g> tag isn't technically rendered
> to the screen.
>
> So how can I treat this group of elements as a single "group" and have
> them respond to pointer events as a whole?
>
> Michael Bishop
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Archie L. Cobbs

Reply via email to