View Single Post
  #2  
Old 01-19-2016, 10:58 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: documentation on core.microhandlers.*

There is no documentation on the function, but the usage is pretty simple:
Code:
core.microhandlers.add( 'Your unique handler name', 'jQuery selector', function (event) { // Your function goes there } );

Use it in your .js files loaded through the getJSFiles() method.

Every time X-Cart 5 loads a page or inserts an AJAX result into the page it looks through added jQuery selectors and runs handler functions configured for matching microhandlers.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote