Skip to content

bizdevfe/biz-ui

Repository files navigation

BizUI - jQuery Plugin Collections for Business

NPM Version Build Status

NPM Stat

Dependence

jQuery 1.11.0+

Usage

Install the latest version of BizUI via npm or bower, adding it to your dependencies:

npm install biz-ui --save
bower install biz-ui --save

It's recommended to bundle BizUI into a vendor chunk in your project, webpack configration for example:

entry: {
    // stuff
    vendor: ['jquery', 'biz-ui']
}

If you're not using a build system, just include the css file and the js file together width jQuery in your page:

<link rel="stylesheet" type="text/css" href="jquery.bizui.css">
<script src="jquery.js"></script>
<script src="jquery.bizui.js"></script>

Use it in any module or global environment as jQuery plugins:

$('button').bizButton();
$('input').bizCalendar();

Themes

BizUI provides 19 themes, set the theme field in each component:

$('button').bizButton({
    theme: 'light-blue'
});

or set bizui.theme all at once:

bizui.theme = 'light-blue';

Iconfonts

Use iconfonts just like Google Material Design Icons in BizUI, for example:

<i class="biz-icon">3d_rotation</i>

Demos

http://bizdevfe.github.io/biz-ui/

Browser support

IE9+, Firefox, Chrome and Safari.

Build

$ npm install
$ gulp build

Get documentations

$ gulp doc