ch.Price (Class)
Documentation updated on Fri May 18 2012 12:47:10 GMT-0300 (GMT-03:00), generated by JsDoc Toolkit 2.4.0
Contents
Overview
Validate a number with a price format.
- Constructor name: ch.Price(conf)
- ch.Price extends ch.Controls* @augments ch.Controls.
- View source on GitHub.
Summary
Classdetail
Parameters
-
conf: Object, Optional. Object with configuration properties. -
conf.message: String, Optional. Validation message. -
conf.points: String, Optional. Sets the points where validation-bubble will be positioned. -
conf.offset: String, Optional. Sets the offset in pixels that validation-bubble will be displaced from original position determined by points. It's specified by configuration or zero by default: "0 0". -
conf.context: String, Optional. It's a reference to position the validation-bubble
Returns
- itself
Requires
See
Examples
$("input").price("Write valid price.");