Constructor
new Price()
Properties:
Name |
Type |
Description |
decimalLength |
type
|
|
decimalSeparator |
type
|
|
decimalForced |
type
|
|
allowNegative |
type
|
|
Extends
Methods
create() → {type}
- Inherited From:
Returns:
-
Type
-
type
destroy()
Destroy the outlet
- Inherited From:
disable() → {type}
- Inherited From:
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(serialized) → {type}
Parameters:
Name |
Type |
Default |
Description |
serialized |
Boolean
|
false
|
|
- Inherited From:
Returns:
-
Type
-
type
hide() → {type}
- Inherited From:
Returns:
-
Type
-
type
Parameters:
Name |
Type |
Description |
ok |
type
|
|
- Inherited From:
Returns:
-
Type
-
type
isEmpty() → {Boolean}
- Inherited From:
Returns:
-
Type
-
Boolean
onKeyPress(evt) → {type}
Parameters:
Name |
Type |
Description |
evt |
type
|
|
- Inherited From:
Returns:
-
Type
-
type
onKeyup(evt) → {type}
Parameters:
Name |
Type |
Description |
evt |
type
|
|
- Inherited From:
Returns:
-
Type
-
type
reset() → {type}
- Inherited From:
Returns:
-
Type
-
type
setLabel(txt)
Parameters:
Name |
Type |
Description |
txt |
type
|
|
- Inherited From:
setValue(v)
Parameters:
Name |
Type |
Description |
v |
type
|
|
- Inherited From:
show() → {type}
- Inherited From:
Returns:
-
Type
-
type
valid() → {type}
- Inherited From:
Returns:
-
Type
-
type
validChar(txt) → {type}
Parameters:
Name |
Type |
Description |
txt |
type
|
|
- Inherited From:
Returns:
-
Type
-
type