Key features of WSphynxJS
Clarify
WSphynxJS allows you to organize your HTML code. You will be able to write events or scripts which interact with a specific div.
Simple to use
WSphynxJS uses a usual syntax. It is easy to learn and to use. You just have to add the prefix "ws".
Design
A modern design to enhance your code. The library is developed with a powerful syntax to match with the most recent browsers.
WSphynxJS uses a simple syntax made to be easy to use. You can declare a div using the tag wsdiv.
In fact, you can declare any HTML element by adding ws at the beginning of the name tag.
WSphynxJS allows you to execute a script for a specific div. To add a script, you have to place a <wsscript> tag inside a div. You can access to div's methods through built-in element object.
You can insert an event listener inside a div to listen to its events. To add an event, you have to write <ws + on + EventName>. Then, it is possible to write a script in the event tag to interact with your web page.
Using the event system, we can build a small reactive form. The parent variable refers to the parent of the input (here the first div).