A WET plugin provides various types of functionality useful to a website and provided by calling the function in the class attribute of an HTML tag.

Using your own plugin

In order to have your plugin working with WET:

  1. Your plugin needs to follow the WET plugin initialisation.
  2. Your script needs to be inserted after the wet-boew.min.js script in your page.
  3. An element in your page needs to call the plugin by having the plugin name in its class atttribute.

Take a look at the Hello world example.

Date modified: