JUI(Simple UI & Chart Component)

ui.notify

Hierarchy

core
ui.notify

Requires

jquery

Files

Notify component that provides an alarm function for when a serious problem or event occurs

Defined By

Config options

ui.notify
view source
: Integer
Determines each margin value when there are multiple notice messages ...

Determines each margin value when there are multiple notice messages

Defaults to: 5

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

Defines a DOM event to be used in a UI

Defaults to: {}

ui.notify
view source
: Integer
Determines the duration of an effect when a notice message disappears ...

Determines the duration of an effect when a notice message disappears

Defaults to: 500

ui.notify
view source
: String
Determines an effect when a notice message disappears (see CSS3 specifications) ...

Determines an effect when a notice message disappears (see CSS3 specifications)

Defaults to: "linear"

ui.notify
view source
: Integer
Determines the margin value of a notice message (the margin value may be in object form rather than a numeric value) ...

Determines the margin value of a notice message (the margin value may be in object form rather than a numeric value)

Defaults to: 12

ui.notify
view source
: "top"/"top-lefet"/"top-right"/"bottom"/"bottom-left"/"bottom-right"
Designates the location where a notice message is added ...

Designates the location where a notice message is added

Defaults to: "top-right"

ui.notify
view source
: Integer
Determines the duration of an effect when a notice message is shown ...

Determines the duration of an effect when a notice message is shown

Defaults to: 500

ui.notify
view source
: String
Determines an effect when a notice message is shown (see CSS3 specifications) ...

Determines an effect when a notice message is shown (see CSS3 specifications)

Defaults to: "swing"

ui.notify
view source
: Integer
Determines the duration for which a notice message is displayed (the message does not disappear when the value is 0) ...

Determines the duration for which a notice message is displayed (the message does not disappear when the value is 0)

Defaults to: 3000

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

Defines a template markup to be used in a UI

Defaults to: {}

Defined By

Methods

ui.notify
view source
( data, timeout )
Adds a notice message. ...

Adds a notice message. The value passed is the data object shown by the notice template

Parameters

  • data : Object
  • timeout : Integer
( 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
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.notify
view source
( )
Removes all notice messages that are enabled ...

Removes all notice messages that are enabled

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

Defined By

Events

ui.notify
view source
( data )
Event that occurs when a notice message is hidden ...

Event that occurs when a notice message is hidden

Parameters

  • data : Object
ui.notify
view source
( data, e )
Event that occurs when a notice message is clicked ...

Event that occurs when a notice message is clicked

Parameters

  • data : Object
  • e : EventObject

    The event object

ui.notify
view source
( data )
Event that occurs when a notice message is shown ...

Event that occurs when a notice message is shown

Parameters

  • data : Object