Sets a function to be executed when any part of this model gets clicked

function onclick;

In JScript you can easily assign a function to the onclick property. The second assignment makes use of the 'new Function(...)' syntax. This will create a hidden function declaration containing only a single statement.

See also:

Class model |

 

©2000 arcticpigs. All rights reserved.
This is a draft version! The functionality of parts of the software are liable to change.