API

ax5select

Kind: global class
Author: tom@axisj.com

ax5select.setConfig(config) ⇒ ax5select

Preferences of select UI

Kind: static method of ax5select

Param Type Description
config Object 클래스 속성값

Example

var options = [];
for (var i = 0; i < 20; i++) {
    options.push({value: i, text: "optionText" + i});
}
var mySelect = new ax5.ui.select({
    theme: "danger"
});
mySelect.bind({
    theme: "primary",
    target: $('[data-ax5select="select1"]'),
    options: options,
    onChange: function () {
        console.log(this);
    },
    onClose: function () {
        console.log(this);
    },
    onStateChanged: function () {
        console.log(this);
    }
});

ax5select.bind(item) ⇒ ax5select

bind select

Kind: static method of ax5select

Param Type
item Object
[item.id] String
[item.theme] String
[item.multiple] Boolean
item.target Element
item.options Array.<Object>

Example

var mySelect = new ax5.ui.select();
mySelect.bind({
 columnKeys: {
     optionValue: "value",
     optionText: "text"
 },
 target: $('[data-ax5select="select1"]'),
 options: [
     {value: "", text: ""}
 ],
 onChange: function(){

 },
 onClose: function(){

 },
 onStateChanged: function(){

 }
});

ax5select.open(boundID, [tryCount]) ⇒ ax5select

open the optionBox of select

Kind: static method of ax5select

Param Type
boundID String | Number | Element
[tryCount] Number

ax5select.update(item) ⇒ ax5select

Kind: static method of ax5select

Param Type
item Object | String

ax5select.setOptions(boundID, options) ⇒ ax5select

Kind: static method of ax5select

Param
boundID
options

ax5select.val(boundID, [value], [selected]) ⇒ ax5select

Kind: static method of ax5select

Param Type
boundID String | Number | Element
[value] String | Object | Array
[selected] Boolean

ax5select.close() ⇒ ax5select

Kind: static method of ax5select

AX5UI Package

'AX5UI' can be used with Bootstrap theme. The development of the distribution of the various UI plug-in. When you click the link to move to AX5UI index page.

Get AXBoot

AXBoot makes it easy to build web applications with Java & HTML5 Repeatable and noise development process are resolved by AXBoot.

Code licensed
MIT
Mantained by
Thomas Jang, Brant and Team AXISJ
Templete design by
Jorwrney Kim
Copyright
Opensource Group AXISJ - www.axisj.com
DNS
DNSEver