JUI(Simple UI & Chart Component)

ui.window

Hierarchy

core
ui.window

Requires

jquery

Files

The window is a layer component that can replace pop-ups

Defined By

Config options

ui.window
view source
: Booleandeprecated
Determines whether to use the animation effect of a UI ...

Determines whether to use the animation effect of a UI

Defaults to: false

This cfg has been deprecated

ui.window
view source
: String/Integer
Determines the Y coordinate based on the bottom side of a window ...

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 ...

Defines a DOM event to be used in a UI

Defaults to: {}

ui.window
view source
: Integer
Determines the height of a window ...

Determines the height of a window

Defaults to: 300

ui.window
view source
: Integer
Determines the z-index property of a modal UI ...

Determines the z-index property of a modal UI

Defaults to: 2000

ui.window
view source
: String/Integer
Determines the X coordinate of a window ...

Determines the X coordinate of a window

Defaults to: "auto"

ui.window
view source
: Boolean
Applies a modal UI to a window ...

Applies a modal UI to a window

Defaults to: false

ui.window
view source
: Integer
Determines the z-index property of a modal UI ...

Determines the z-index property of a modal UI

Defaults to: 0

ui.window
view source
: Boolean
It is possible to move a window ...

It is possible to move a window

Defaults to: true

ui.window
view source
: Boolean
It is possible to resize a window ...

It is possible to resize a window

Defaults to: true

ui.window
view source
: String/Integer
Determines the X coordinate based on the right side of a window ...

Determines the X coordinate based on the right side of a window

Defaults to: "auto"

ui.window
view source
: String/Integer
Determines the Y coordinate of a window ...

Determines the Y coordinate of a window

Defaults to: "auto"

Defines a template markup to be used in a UI ...

Defines a template markup to be used in a UI

Defaults to: {}

ui.window
view source
: Integer
Determines the horizontal size of a window ...

Determines the horizontal size of a window

Defaults to: 400

Defined By

Methods

( name, params )
Check the parameter type of a UI method and generates an alarm when a wrong value is entered ...

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

( name, callback ) : Mixed
Sets a callback function that is called after a UI method is run ...

Sets a callback function that is called after a UI method is run

Parameters

  • name : String

    Method name

  • callback : Function

Returns

  • Mixed
( name, callback ) : Mixed
Sets a callback function that is called before a UI method is run ...

Sets a callback function that is called before a UI method is run

Parameters

  • name : String

    Method name

  • callback : Function

Returns

  • Mixed
( name, callback )
Sets a callback function and the delay time before/after a UI method is run ...

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 ...

Removes all events set in a UI obejct and the DOM element

( type, args ) : Mixed
Generates a custom event. ...

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
ui.window
view source
( )
Hides a window ...

Hides a window

ui.window
view source
( x, y )
Moves a window at specified coordinates ...

Moves a window at specified coordinates

Parameters

  • x : Integer
  • y : Integer
Removes a custom event of an applicable type or callback handler ...

Removes a custom event of an applicable type or callback handler

Parameters

  • type : String

    Event type

( type, callback )
A callback function defined as an on method is run when an emit method is called ...

A callback function defined as an on method is run when an emit method is called

Parameters

  • type : String

    Event type

  • callback : Function
ui.window
view source
( )
Designates a scroll area if there is a lot of content in the window body area ...

Designates a scroll area if there is a lot of content in the window body area

Re-adjust the location of a modal window ...

Re-adjust the location of a modal window

Dynamically defines the options of a UI ...

Dynamically defines the options of a UI

Parameters

  • key : String
  • value : Mixed
ui.window
view source
( width, height )
Changes the horizontal/vertical size of a window ...

Changes the horizontal/vertical size of a window

Parameters

  • width : Integer
  • height : Integer
ui.window
view source
( title )
Changes the markup of the title tag in the head area of a window ...

Changes the markup of the title tag in the head area of a window

Parameters

  • title : String
( name, html )
Dynamically defines the template method of a UI ...

Dynamically defines the template method of a UI

Parameters

  • name : String

    Template name

  • html : String

    Template markup

ui.window
view source
( x, y )
Shows a window at specified coordinates ...

Shows a window at specified coordinates

Parameters

  • x : Integer
  • y : Integer
ui.window
view source
( html )
Changes the markup in the body area of a window ...

Changes the markup in the body area of a window

Parameters

  • html : String
Defined By

Events

ui.window
view source
( )
Event that occurs when a window is hidden ...

Event that occurs when a window is hidden

ui.window
view source
( e )
Event that occurs when a window is moved ...

Event that occurs when a window is moved

Parameters

  • e : EventObject

    The event object

ui.window
view source
( e )
Event that occurs when a window is resized ...

Event that occurs when a window is resized

Parameters

  • e : EventObject

    The event object

ui.window
view source
( )
Event that occurs when a window is shown ...

Event that occurs when a window is shown