Download the PHP package mg-code/yii2-assets without Composer
On this page you can find all versions of the php package mg-code/yii2-assets. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mg-code/yii2-assets
More information about mg-code/yii2-assets
Files in mg-code/yii2-assets
Package yii2-assets
Short Description Yii2 asset collection of useful JavaScript libraries
License BSD 3-Clause
Homepage https://github.com/mg-code/yii2-assets
Informations about the package yii2-assets
yii2-assets
Yii2 asset collection of useful JavaScript libraries.
Below are instructions how to use assets.
You must include dependencies in your composer.json for all assets (see Assets section) that you want to use. This is due to prevent loading dependency packages for assets that you don't need.
Assets:
- Awesome Grid
- BxSlider
- History.js
- Intl.js
- Ionicons
- jQuery.browser
- jQuery Serialize Object
- JavaScript Cookie
- Sly
- Sticky
- Owl Carousel
- Owl Carousel 2 Thumbnails
- Are You Sure?
- Bootstrap Tabdrop
- Autobahn JS
- Seiyria Bootstrap Slider
- Highcharts
- messageformat.js
- Fancybox
- Enhanced Events
- ReactJS
- Single Page Nav
- jQuery Easing
- CoreJS TypeAhead
- jQuery File Upload
Install
Either run
or add
to the section of your composer.json
file.
Install dependencies
See Assets section, there are described what dependencies you need to include for every asset.
To add those dependencies either run
or add
to the section of your composer.json
file.
Usage
There are two ways how to use assets.
Either register it in view.
Either add it as dependency to your asset
Replace AwesomeGridAsset with desired asset. (See Assets section)
Assets
Awesome Grid
Asset:
Dependencies:
BxSlider
Assets:
Dependencies:
History.js
Asset:
Dependencies:
Intl.js
Main asset:
Locale Asset:
By default IntlJsLocaleAsset
uses locale defined in Formatter configuration.
If you want to override it you can define it in application params
section:
Dependencies:
Ionicons
Asset:
Dependencies:
jQuery.browser
Asset:
Dependencies:
jQuery Serialize Object
Asset:
Dependencies:
JavaScript Cookie
Asset:
Dependencies:
Sly
Asset:
Dependencies:
Sticky
Asset:
Dependencies:
Owl Carousel
Asset for JS && CSS files:
Asset for JS file:
Dependencies:
Owl Carousel 2 Thumbnails
Asset for JS && CSS files:
Dependencies:
Are You Sure?
Asset:
Dependencies:
Bootstrap Tabdrop
Asset:
Autobahn JS
0.8.2 is the last version of Autobahn|JS that supports version 1 of WAMP.
Please read documentation here: http://autobahn.ws/js/reference_wampv1.html
Asset:
Seiyria Bootstrap Slider
Asset:
Dependencies:
Highcharts
Asset:
Dependencies:
messageformat.js
Asset:
Dependencies:
Fancybox
Asset:
Dependencies:
Enhanced Events
Adds document scrollEnd event. Asset:
ReactJS
Asset:
Dependencies:
Single Page Nav
Version 1.2.1 supported.
Asset:
jQuery Easing
Asset:
Dependencies:
CoreJs TypeAhead
Asset:
Dependencies:
jQuery File Upload
Asset:
Dependencies: