123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <!DOCTYPE html>
- <html>
- <head>
- <script type="text/javascript">
- vwf_view.satProperty = function (nodeID, propertyName, propertyValue) {
- if (propertyValue === undefined || propertyValue == null) {
- return;
- }
- let props = ["angle", "iteration", "stepLength", "rule", "axiomF", "axiomG"]
- let readyForDraw = vwf.getProperty(nodeID, 'readyForDraw');
- if (props.includes(propertyName)) {
- if (readyForDraw) {
- vwf_view.kernel.callMethod(nodeID, "makeLSys");
- }
- //console.log(propertyName +' - '+ propertyValue);
- }
- // switch ( propertyName ) {
- // case "iteration":
- // vwf_view.kernel.callMethod(nodeID, "makeLSys");
- // console.log("here!!")
- // break;
- // default:
- // break;
- // }
- }
- </script>
- </head>
- <body>
- </body>
- </html>
|