Metadata-Version: 1.0
Name: collective.kss.inlinejs
Version: 1.0
Summary: Plugin that allows you to put javascript code evaluated by kss
Home-page: http://www.redomino.com
Author: Davide Moro
Author-email: davide.moro@redomino.com
License: GPL
Description: collective.kss.inlinejs
        =======================
        
        If you want to use external js libraries with kss you may have to write a kss plugin (for example create a jQuery porting of some features).
        When it makes sense you can also use this package and put simple inline javascript code that will be executed.
        
        You can call javascript code from the inlinejs kss command set or configure properly a kss configuration file.
        
        
        Example usage
        -------------
        
        From python code:
        
        element = ksscore.getHtmlIdSelector('selector')
        inline = self.getCommandSet("inlinejs")
        inline.execJs(element, "alert('TEST'); alert(node.id); jQuery(...)")
        
        From a kss configuration file:
        
        img:click {
        action-client: inlinejs-effect;
        inlinejs-effect-code: 'alert(node.id); alert("done"); jQuery(...)';
        inlinejs-effect-debug: '1';
        }
        
        TODO
        ----
        
        * Tests coverage
        
        
        Author
        ======
        
        - Davide Moro <davide.moro@redomino.com>
        
        
        
Keywords: kss plugin
Platform: UNKNOWN
Classifier: Framework :: Plone
Classifier: Framework :: Zope2
Classifier: Framework :: Zope3
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
