JUI(Simple UI & Chart Component)

ui.autocomplete

Hierarchy

core
ui.autocomplete

Requires

jquery

Files

Auto complete component that shows a list of keywords containing the input value when inputting a string in a text box

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.autocomplete
view source
: Boolean
When 'focus' event occur, show all words ...

When 'focus' event occur, show all words

Defaults to: false

ui.autocomplete
view source
: String/DOMElement
Designates a target selector when an autofill route is not a target ...

Designates a target selector when an autofill route is not a target

Defaults to: null

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

Defines a template markup to be used in a UI

Defaults to: {}

ui.autocomplete
view source
: Array
Designates words subject to autofill ...

Designates words subject to autofill

Defaults to: []

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
ui.autocomplete
view source
( )
Close the active drop-down ...

Close the active drop-down

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.autocomplete
view source
( ) : Array
Gets filtered words subject to autofill ...

Gets filtered words subject to autofill

Returns

  • Array

    words

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

ui.autocomplete
view source
( words )
Updates words subject to autofill ...

Updates words subject to autofill

Parameters

  • words : Array
Defined By

Events

ui.autocomplete
view source
( word )
Event that occurs when you click on a dropdown that shows a word list ...

Event that occurs when you click on a dropdown that shows a word list

Parameters

  • word : String

    Changed word