JUI(Simple UI & Chart Component)

ui.property

Hierarchy

core
ui.property

Requires

jquery

Files

Property view is a list of properties

Property Items Types

  • group
  • text
  • checkbox
  • switch
  • select
  • color
  • colors
  • range - native range slider (simple design)
  • number
  • html
  • textarea
  • property - support nested property view

Item Attributes

  • type - group, text, color , colors, range, checkbox, number , textarea, html
  • title - item's title
  • description
  • key - item's key name
  • value - item's value (array, text, boolean)
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: {}

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.property
view source
( id )
collapse group's children ...

collapse group's children

Parameters

  • id : String
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.property
view source
( id )
expand group's children ...

expand group's children

Parameters

  • id : String
get a list of group's title. ...

get a list of group's title.

ui.property
view source
( obj )
set a list of property's value ...

set a list of property's value

Parameters

  • obj : Object
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

Defined By

Events

ui.property
view source
( )
Event that occurs when property view is changed ...

Event that occurs when property view is changed