WebAlterer - Joyje/schlafli GitHub Wiki

The web alterer is a module for altering webpages. This can be useful in many different projects which is why I made this its own separate module.

In the schläfli project, this is used to add a WebGL canvas to any desired HTML element. This makes it very easy for anyone to incorporate the Schläfli Illustrator into their own webpage by simply giving the desired element that should contain the canvas the right class name.

Web Altering Functions

  1. ChildAppender: add any child element to any element on the page containing the specified class name.

Relevant Files

ChildAppender.js