<canvas height="50" width="100%"> <class name="button"> <text>Click me!</text> </class> <class name="mybutton" extends="button"/> <mybutton/> </canvas> <!-- * X_LZ_COPYRIGHT_BEGIN *************************************************** * Copyright 2007-2009 Laszlo Systems, Inc. All Rights Reserved. * * Use is subject to license terms. * * X_LZ_COPYRIGHT_END ****************************************************** -->