For auto init and
per component init methods, we provided a simple
.no-axentix-init class to disable the basic initialization with the Axentix class for the specified
Using this class, you can use all components in your page, except the one you specified. You can now pass your specific parameters to use it.
Detect automatically all Axentix components who need to be initialized, in only one line.
Using this way, you don't have to initialize anything else, but you can't pass options to your JS elements.
Per component type
Detect all elements of the specified component type, and initialize all them using the passed options.
This method initialize the element individually using the passed options.
Methods are useful to get the instances of the elements on your page. This way, you can interact with them using their specific methods.
|.getAllInstances()||Get a table containing all instances of the JS elements on the page.|
Get a specific instance using the id of the element. You will get all his properties.
This method resets all components listeners.
This is useful if you are adding elements dynamically like a
This method resets the listeners of the specified component.
This method resets all components.
This is useful if you are changing a component dynamically, like a sidenav position.
This method reset the specified component.
|ax.component.sync||Event sent when the
|ax.component.reset||Event sent when the