jQuery-Store-Locator-Plugin icon indicating copy to clipboard operation
jQuery-Store-Locator-Plugin copied to clipboard

Ability to extend plugin

Open PaladinMattt opened this issue 8 years ago • 1 comments

This is a nice plugin, but it lacks the ability to be able to extend it. I have a few extension methods with the ability to set the filters dynamically, or export the store list to Excel, but it seems currently I must modify the javascript file instead of being able to include a separate extensions file.

PaladinMattt avatar Sep 22 '17 21:09 PaladinMattt

For instance, there does not appear to be a way to access the "locationset" array from outside this plugin file, I think a more object oriented way would be to put he "variables used across multiple methods" into your constructor, and access them like properties.

PaladinMattt avatar Sep 26 '17 19:09 PaladinMattt