JUI(Simple UI & Chart Component)

event

Hierarchy

core
event

Requires

jquery

Files

Later the jquery dependency should be removed.

This class has been deprecated

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: {}

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

Defines a template markup to be used in a UI

Defaults to: {}

: Objectdeprecated
Configures a binding object of a markup ...

Configures a binding object of a markup

Defaults to: null

This cfg has been deprecated

Defined By

Properties

: Object

Dom events

Dom events

Defined By

Methods

( selector, type, callback )
Defines a browser event of a DOM element ...

Defines a browser event of a DOM element

Parameters

  • selector : String/HTMLElement
  • type : String

    Dom event type

  • callback : Function
( Selector, Dom )
Generates an applicable event to a DOM element ...

Generates an applicable event to a DOM element

Parameters

  • Selector : String/HTMLElement
  • Dom : String

    event type

( 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

Overrides: core.destroy

( 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
( Selector ) : *|jQuery
Get the child element of the root element ...

Get the child element of the root element

Parameters

  • Selector : String/HTMLElement

Returns

  • *|jQuery
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
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

( )deprecated
Dynamically defines the template method of a UI ...

Dynamically defines the template method of a UI

This method has been deprecated