Skip to content

Latest commit

 

History

History
140 lines (108 loc) · 4.04 KB

API.md

File metadata and controls

140 lines (108 loc) · 4.04 KB

Classes

ax5layout

Objects

jQueryExtends : object

ax5layout jquery extends

ax5layout

Kind: global class
Author: tom@axisj.com

ax5layout.setConfig(config) ⇒ ax5layout

Preferences of layout UI

Kind: static method of ax5layout

Param Type Default Description
config Object 클래스 속성값
[config.animateTime] Number 250
[config.splitter] Object
[config.splitter.size] Number 4
[config.autoResize] Boolean true

Example

jQuery('[data-ax5layout="ax1"]').ax5layout({
    onResize: function () {
    }
});

jQuery('[data-ax5layout="ax1"]').ax5layout("resize", {
    top: {height: 100},
    bottom: 100,
    left: 100,
    right: 100
});

ax5layout.bind(item) ⇒ ax5layout

Kind: static method of ax5layout

Param Type Default
item Object
[item.layout] String
[item.theme] String
item.target Element
item.options Array.<Object>
[item.splitter] Object
[item.splitter.size] Number 4
[item.autoResize] Boolean true

ax5layout.align(boundID, [callback], [windowResize]) ⇒ ax5layout

Kind: static method of ax5layout

Param Type
boundID
[callback] function
[windowResize] String

ax5layout.onResize(boundID, fn) ⇒ ax5layout

Kind: static method of ax5layout

Param
boundID
fn

ax5layout.resize(boundID, resizeOption, [callback]) ⇒ ax5layout

Kind: static method of ax5layout

Param Type
boundID
resizeOption Object
[callback] function

ax5layout.tabOpen(boundID, tabIndex) ⇒ ax5.ui.ax5layout

Kind: static method of ax5layout

Param
boundID
tabIndex

jQueryExtends : object

ax5layout jquery extends

Kind: global namespace

jQueryExtends.ax5layout(methodName)

Kind: static method of jQueryExtends

Param Type
methodName String

Example

jQuery('[data-ax5layout="ax1"]').ax5layout("align");
jQuery('[data-ax5layout="ax1"]').ax5layout("resize");
jQuery('[data-ax5layout="ax1"]').ax5layout("reset");
jQuery('[data-ax5layout="ax1"]').ax5layout("hide");
jQuery('[data-ax5layout="ax1"]').ax5layout("onResize");
jQuery('[data-ax5layout="ax1"]').ax5layout("tabOpen", 1);