.tmp_E7A942D957A5355E1EC9DE443A24C111_constraints-$1.lzx
<canvas width="100%">
<view x="250" width="20" height="20" bgcolor="red" y="${m.y-15}"/>
<view x="300" width="20" height="20" bgcolor="blue">
<handler name="oninit">
var d = [m, "y-15"];
this.applyConstraintMethod("myConstraintMethod", d);
</handler>
<method name="myConstraintMethod" args="ignore">
this.setAttribute("y", m.y);
</method>
</view>
<window id="m" x="10" title="Drag me" width="160" height="20"/>
</canvas>
Cross References
Named Instances