.tmp_1A19E221CFF92183C6B1F260A13D2B99_methods-events-attributes-$2.lzx

<canvas height="50" width="100%">
  <text id="message">
    <method name="add" args="a,b">
      var sum = a + b;
      this.setAttribute('text', ('a + b = ' + sum));          
    </method>
  </text>
  <script>
    message.add(3,9)
  </script>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
* Copyright 2007, 2008 Laszlo Systems, Inc.  All Rights Reserved.                   *
* Use is subject to license terms.                                            *
* X_LZ_COPYRIGHT_END ****************************************************** -->

Cross References

Named Instances