ui.window
Hierarchy
coreui.windowRequires
jqueryFiles
The window is a layer component that can replace pop-ups
Config options
Determines whether to use the animation effect of a UI
Defaults to: false
This cfg has been deprecated
Determines the Y coordinate based on the bottom side of a window
Defaults to: "auto"
Defines a DOM event to be used in a UI
Defaults to: {}
Determines the height of a window
Defaults to: 300
Determines the z-index property of a modal UI
Defaults to: 2000
Determines the X coordinate of a window
Defaults to: "auto"
Determines the z-index property of a modal UI
Defaults to: 0
It is possible to resize a window
Defaults to: true
Determines the X coordinate based on the right side of a window
Defaults to: "auto"
Determines the Y coordinate of a window
Defaults to: "auto"
Defines a template markup to be used in a UI
Defaults to: {}
Determines the horizontal size of a window
Defaults to: 400
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
Moves a window at specified coordinates
Parameters
- x : Integer
- y : Integer
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
Designates a scroll area if there is a lot of content in the window body area
Dynamically defines the options of a UI
Parameters
- key : String
- value : Mixed
Changes the horizontal/vertical size of a window
Parameters
- width : Integer
- height : Integer
Changes the markup of the title tag in the head area of a window
Parameters
- title : String
Dynamically defines the template method of a UI
Parameters
- name : String
Template name
- html : String
Template markup
Shows a window at specified coordinates
Parameters
- x : Integer
- y : Integer
Changes the markup in the body area of a window
Parameters
- html : String