Active
Project:
Facet API
Version:
7.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 May 2011 at 00:52 UTC
Updated:
18 May 2012 at 14:39 UTC
Currently there is no JavaScript API to speak of. There should be a basic API to allow developers to extend and integrate with the default JavaScript being executed.
Comments
Comment #1
cpliakas commentedAlthough the old code was a bit much, the 6.x-1.x version of the module did some interesting things with JS that we should revisit and rework into something simpler.
Comment #2
cpliakas commentedComment #3
cpliakas commentedOne item that might make JS code more reusable and prevent widgets from having to loop through all of the settings to find out which ones it should act on would be to implement a "callbacks" key for $this->jsSettings. The code would look something like this...
See comments starting at http://drupal.org/node/1175718#comment-4564222 for more details.
Comment #4
cpliakas commentedMarking as postponed. This seems like it would be better suited for the 2.x branch.
Comment #5
cpliakas commentedMoving to the 2.x branch.
Comment #6
webflo commented