lx/jquery-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.

This bundle provides several jQuery libaries, such as jQuery itself, jQuery UI, and jQuery mobile.

Installs: 76

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

dev-master 2016-03-17 10:04 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:22:12 UTC


README

The support for this bundle is discontinued. Read why: http://matznermatzner.de/en/bernd/2013/11/dont-use-my-symfony2-bundles/

jQueryBundle

This bundle provides several jQuery libaries, such as jQuery itself, jQuery UI, and jQuery mobile.

##Install Add the bundle to your AppKernel::registerBundles() method and run assets:install.

        class AppKernel extends Kernel
        {
            public function registerBundles()
            {   
                $bundles = array(
                    
                    new lx\jQueryBundle\lxjQueryBundle,
                    
                );
            }
        }

##Use To use the components you have to include it with assetic in twig.

        {% javascripts filter='?yui_js' output='js/application.js'
            '@lxjQueryBundle/jQuery-latest.js'
            '@lxjQueryBundle/ui/jquery.ui.core.js'
            '@lxjQueryBundle/ui/jquery.ui.widget.js'
            '@lxjQueryBundle/ui/jquery.ui.mouse.js'
            '@lxjQueryBundle/ui/jquery.ui.position.js'%}
            <script type="text/javascript" src="{{ asset_url }}"></script>
        {% endjavascripts %}

Just pick out the files you need for your project, include them and GO!

    Note: Watch out for the dependencies of the components. For example, widget and mouse need the core component.

The filter attribute is optional, but we highly recommend using it because of none of the javascript and css files are minified for development reasons. We further recommend reading the article about assetic in the Symfony2 documentation. -> http://symfony.com/doc/2.0/cookbook/assetic/asset_management.html

##Files jQueryBundle/ mobile/ js/ css/ ui/ js/ css/ Resources/ public/ mobile/ images/ ui/ images/

Please note: This is only a 'summary' of javascript & css libaries written by the maintainers of jQuery.com, jqueryui.com and jquerymobile.com