wasabi/wasabilib
Composer 安装命令:
composer require wasabi/wasabilib
包简介
ZF2 Ajax Module
README 文档
README
WasabiLib is a ready-to-use ajax module. You do not need to write a single line JavaScript code to create ajax requests and responses. With the PHP ajax classes you have complete control of the DOM from server-side.
It comes with ready-to-use components. Most important are:
1. InnerHtml - replace, append or remove HTML snippets from HTML elements. http://www.wasabilib.org/application/pages/examples#inner_html
2. DomManipulator - manipulates existing elements. http://www.wasabilib.org/application/pages/examples#dom_manipulator
3. TriggerEventManager - trigger JavaScript events from within the PHP code http://www.wasabilib.org/application/pages/examples#trigger_event_manager
And a lot of extensions based on these components
##Requirements For a full integration the following assets are needed: jQuery, Bootstrap, FontAwesome
##Installation For a not yet existing project we recommend the WasabiLib Skeleton Application https://github.com/WasabiLib/wasabilib_zf2_skeleton_application
###For existing ZF2 projects
- Clone the repository into your vendor folder
- Copy the css and img files under venodor/wasabilib/wasabi into the public css and img folder
- Copy the wasabilib.min.js, wasabi.gritter.js, wasabi.suggest.js into public/js
- Include the js-files in the layout.phtml as they are loaded after jquery
- Include the CSS files as they are loaded after bootstrap.css
##Please Visit http://www.wasabilib.org for detailed information.
统计信息
- 总下载量: 234
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: The
- 更新时间: 2015-12-15