JUI(Simple UI & Chart Component)

ui.dropdown

Hierarchy

core
ui.dropdown

Requires

jquery

Files

Dropdown is a UI component that is frequently used in multiple UI components such as combo box, navigation, table, ect

Defined By

Config options

ui.dropdown
view source
: Boolean
Closes the Auto when clicking on the dropdown list ...

Closes the Auto when clicking on the dropdown list

Defaults to: true

Defines a DOM event to be used in a UI ...

Defines a DOM event to be used in a UI

Defaults to: {}

ui.dropdown
view source
: Integer
Determines the vertical size of a dropdown list ...

Determines the vertical size of a dropdown list

Defaults to: 0

ui.dropdown
view source
: Boolean
It is possible to choose anything on the dropdown list with the arrow keys on the keyboard ...

It is possible to choose anything on the dropdown list with the arrow keys on the keyboard

Defaults to: false

ui.dropdown
view source
: Integer
Sets the X coordinate of the dropdown list ...

Sets the X coordinate of the dropdown list

Defaults to: 0

ui.dropdown
view source
: Array
Sets a dropdown list to data rather than markup ...

Sets a dropdown list to data rather than markup

Defaults to: []

ui.dropdown
view source
: Integer
Sets the Y coordinate of the dropdown list ...

Sets the Y coordinate of the dropdown list

Defaults to: 0

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

Defines a template markup to be used in a UI

Defaults to: {}

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

Determines the horizontal size of a dropdown list

Defaults to: 0

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.dropdown
view source
( )
Hides the dropdown ...

Hides the dropdown

ui.dropdown
view source
( x, y )
Moves a dropdown to the specified coordinates ...

Moves a dropdown to the 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.dropdown
view source
( )
Reloads the dropdown list ...

Reloads the dropdown list

Dynamically defines the options of a UI ...

Dynamically defines the options of a UI

Parameters

  • key : String
  • value : Mixed
( 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.dropdown
view source
( x, y )
Shows a dropdown at the specified coordinates ...

Shows a dropdown at the specified coordinates

Parameters

  • x : Integer
  • y : Integer
ui.dropdown
view source
( nodes )
Changes the dropdown list ...

Changes the dropdown list

Parameters

  • nodes : Array

    Dropdown list

ui.dropdown
view source
( key, callback )
Changes a selected node upwards when the key is set to -1, or downwards when the key is set to 1. ...

Changes a selected node upwards when the key is set to -1, or downwards when the key is set to 1. If the key is set to 0, the speciified node is selected

Parameters

  • key : Integer
  • callback : Function
Defined By

Events

ui.dropdown
view source
( data, e )
Event that occurs when anything on the dropdown list is selected ...

Event that occurs when anything on the dropdown list is selected

Parameters

  • data : Object
  • e : EventObject

    The event object

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

Event that occurs when a dropdown is hidden

ui.dropdown
view source
( )
Event that occurs when a dropdown is reloaded ...

Event that occurs when a dropdown is reloaded

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

Event that occurs when a dropdown is shown