JUI(Simple UI & Chart Component)

ui.button

Hierarchy

core
ui.button

Requires

jquery

Files

Defined By

Config options

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

Defines a DOM event to be used in a UI

Defaults to: {}

ui.button
view source
: String
Determines an initial selection button with a specified value ...

Determines an initial selection button with a specified value

Defaults to: ""

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

Defines a template markup to be used in a UI

Defaults to: {}

ui.button
view source
: String
Determines whether to use a radio/check button ...

Determines whether to use a radio/check button

Defaults to: "radio"

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.button
view source
( isActive )
Enables the tab at a specified index ...

Enables the tab at a specified index

Parameters

  • isActive : Boolean
ui.button
view source
( ) : Array
Gets the data of the button currently selected ...

Gets the data of the button currently selected

Returns

  • Array
ui.button
view source
( ) : Array
Gets the value of the button currently selected ...

Gets the value of the button currently selected

Returns

  • Array

    Values

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.button
view source
( )
Re-defines the button UI ...

Re-defines the button UI

ui.button
view source
( indexList )
Selects a button of a specified index ...

Selects a button of a specified index

Parameters

  • indexList : Array

    Index for button check

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.button
view source
( valueList )
Selects a button with a specified value ...

Selects a button with a specified value

Parameters

  • valueList : Array

    Values for button check

Defined By

Events

ui.button
view source
( data, e )
Event that occurs when clicking on a button ...

Event that occurs when clicking on a button

Parameters

  • data : Object

    Data of the selected button

  • e : jQueryEvent

    The event object

ui.button
view source
( data, e )
Event that occurs when clicking on a button ...

Event that occurs when clicking on a button

Parameters

  • data : Object

    Data of the selected button

  • e : jQueryEvent

    The event object