lx/jquery-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lx/jquery-bundle

Composer 安装命令:

composer require lx/jquery-bundle

包简介

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

README 文档

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

统计信息

  • 总下载量: 76
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: Unknown
  • 更新时间: 2012-11-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固