ax5core
"AX5" utility is very safe and useful.
'ax5.info', 'ax5.util', and consists of 'ax5.ui', are among the "ax5.ui" At the same time, perform the parenting
role and the root of the UI library.
"ax5core" is a collection of utility functions that have been designed for use in ax5ui.
It was designed to the utility to act as a minimum code. So it can be considered to be simple compared to other utilities.
Dependencies
Install by bower
bower install ax5core
bower is web front-end package manager.
using the bower
, when you install the plug-in is installed to resolve the plug-in dependencies under the bower_components
folder.
(You can change the folder location. .bowerrc )
It is recommended that you install by using the bower
.
If you've never used a bower is, you will be able to be used for http://bower.io/#install-bower.
Install by npm
If you do not use the bower, it can be downloaded by using the npm as second best.
In npm, so pile on the package manager for the front end, you need to solve the problem of plug-in dependencies.
npm install jquery
npm install ax5core
After you download the file in npm install, you will need to copy to the location where you want to use as a resource for the project.
If the inconvenience in the process that you want to copy the file and can be easily copied by using a gulp
or grunt
.
Download code
Insert the "ax5" in the HTML HEAD.
Location of the folder can be determined freely in your project. But be careful not to accidentally caused
exactly the path.
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/ax5ui/ax5core/master/dist/ax5core.min.js"></script>
CDN urls
It is CDN url of ax5ui-select. ax5ui offers the CDN services through the rawgit.
https://cdn.rawgit.com/ax5ui/ax5core/master/dist/ax5core.js
https://cdn.rawgit.com/ax5ui/ax5core/master/dist/ax5core.min.js
Basic Usage
ax5.util.date("20111111");
ax5.util.date("20111111", {'return':'yyyy/mm/dd'});
ax5.util.date("20111111", {'return':'yyyy/mm/dd', add:{"d":1}} );
"2011/11/12"
API
If you have any questions, please refer to the following gitHub