Download the PHP package snapshotpl/zf-snap-jquery without Composer
On this page you can find all versions of the php package snapshotpl/zf-snap-jquery. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download snapshotpl/zf-snap-jquery
More information about snapshotpl/zf-snap-jquery
Files in snapshotpl/zf-snap-jquery
Package zf-snap-jquery
Short Description jQuery and jQuery UI helpers and form elements for Zend Framework 2
License BSD-3-Clause
Informations about the package zf-snap-jquery
ZfSnapJquery
jQuery and jQuery UI helpers and form elements for Zend Framework 2
Version 0.5.0 Created by Witold Wasiczko
Features
- jQuery UI elements
- Auto include js and css files with libs (using public cdn)
- Highly configurable
- Ready to use without configuration
Usage
Create form:
Assign form to view in controller:
and print it in view:
That's it! Oh, and you need to print Zend's headLink(), headScript() and inlineScript() in your layout.
Customization
Custom jQuery UI element property
To change jquery options use jquery attribute:
Custom version, theme or CDN
If you need to change version, theme or default CDN - overwrite configuration:
Custom scripts and styles
You can use your own script or style:
Custom helper
If you don't want to use headLink(), headScript() and inlineScript() to include scripts and styles:
And then in your layout:
Custom way to append scripts or styles
To disable appending scripts and styles:
To see what you can customize see source of module.config.php.
How to install?
Via composer.json
All versions of zf-snap-jquery with dependencies
zendframework/zend-view Version 2.*
zendframework/zend-modulemanager Version 2.*