ui.layout
Hierarchy
coreui.layoutRequires
jqueryFiles
@Deprecated use ui.splitter instead. Layout can split the screen into areas and each area will be resizable
Config options
Determines the color of the resizing bar
Defaults to: "#d6d6d6"
Determines the size of the resizing bar
Defaults to: 3
Configures options for the bottom area
Defaults to: {el: null, size: null, min: 50, max: 200, resize: true}
Configures options for the center area
Defaults to: {el: null}
Defines a DOM event to be used in a UI
Defaults to: {}
Determines the container height value
Defaults to: null
Configures options for the left area
Defaults to: {el: null, size: null, min: 50, max: 200, resize: true}
Configures options for the right area
Defaults to: {el: null, size: null, min: 50, max: 200, resize: true}
Configures options for the top area
Defaults to: {el: null, size: null, min: 50, max: 200, resize: true}
Defines a template markup to be used in a UI
Defaults to: {}
Determines the container area value
Defaults to: null
Methods
Check the parameter type of a UI method and generates an alarm when a wrong value is entered
Parameters
- name : String
Method name
- params : Array
Parameters
Sets a callback function that is called after a UI method is run
Parameters
- name : String
Method name
- callback : Function
Returns
- Mixed
Sets a callback function that is called before a UI method is run
Parameters
- name : String
Method name
- callback : Function
Returns
- Mixed
Sets a callback function and the delay time before/after a UI method is run
Parameters
- name : String
Method name
- callback : Function
Removes all events set in a UI obejct and the DOM element
Generates a custom event. The first parameter is the type of a custom event. A function defined as an option or on method is called
Parameters
- type : String
Event type
- args : Function
Event Arguments
Returns
- Mixed
Removes a custom event of an applicable type or callback handler
Parameters
- type : String
Event type
A callback function defined as an on method is run when an emit method is called
Parameters
- type : String
Event type
- callback : Function
Dynamically defines the options of a UI
Parameters
- key : String
- value : Mixed
Dynamically defines the template method of a UI
Parameters
- name : String
Template name
- html : String
Template markup