.tmp_E7E8A8609DE34CC07CEF4226DDDE89C2_LFC-$176.lzx

<canvas width="100%" height="450">
    <!-- can be dragged onto any droppable view -->
    <view name="abcd" with="draggable" width="200" height="200" bgcolor="${this.dragover ? 'red' : 'green'}" opacity="${this.dragging ? .5 : 1}" onmousedown="this.res.setAttribute('applied', true)" onmouseup="this.res.setAttribute('applied', false)">
 <resizestatemin name="res" resize_min_width="${100}" resize_min_height="${50}"/>
        <handler name="ondragging" args="view:lz.view">
            Debug.info('ondragging draggable', view);
        </handler>
        <handler name="ondragover" args="view:lz.view">
            Debug.info('ondragover draggable', view);
        </handler>
        <handler name="ondrop" args="view:lz.view">
            Debug.info('ondrop draggable', view);
        </handler>
<handler name="onclick">
abcd.setAttribute('bgcolor' , red);
  </handler>
    </view>
    
</canvas>

Cross References

Named Instances