Class: Rating

M_.Form.Rating()

Display stars to rate

Constructor

new Rating()

Properties:
Name Type Description
inputType type
value type
nbStars type

Extends

Methods

addValue(val)

Parameters:
Name Type Description
val type

create() → {type}

Inherited From:
Returns:
Type
type

destroy()

Destroy the outlet
Inherited From:

disable() → {type}

Inherited From:
Returns:
Type
type

drawContainer() → {type}

Returns:
Type
type

enable() → {type}

Inherited From:
Returns:
Type
type

findEl(selector) → {jQuery}

Search a class or selector in the container, like $.find()
Parameters:
Name Type Description
selector string
Inherited From:
Returns:
Type
jQuery

getEl() → {jquery}

Return jEl element. Generally the main object.
Inherited From:
Returns:
the main jQuery element
Type
jquery

getValue() → {type}

Overrides:
Returns:
Type
type

hide() → {type}

Inherited From:
Returns:
Type
type

informValid(ok) → {type}

Parameters:
Name Type Description
ok type
Inherited From:
Returns:
Type
type

isEmpty() → {Boolean}

Inherited From:
Returns:
Type
Boolean

removeValue(val) → {type}

Parameters:
Name Type Description
val type
Returns:
Type
type

reset() → {type}

Inherited From:
Returns:
Type
type

setLabel(txt)

Parameters:
Name Type Description
txt type
Inherited From:

setValue(val)

Parameters:
Name Type Description
val type
Overrides:

show() → {type}

Inherited From:
Returns:
Type
type

valid() → {type}

Inherited From:
Returns:
Type
type