Class Ruler
Defined in: Ruler.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Ruler()
Ruler, with ticks and numbers, drawn with HTML elements.
|
Method Attributes | Method Name and Description |
---|---|
render_to(target_div)
|
Class Detail
Ruler()
Ruler, with ticks and numbers, drawn with HTML elements. Can be
stretched to any length.
- Parameters:
- {Number} args.min
- {Number} args.max
- {String} args.direction Optional, Default: "up"
- The direction of increasing numbers. Either "up" or "down".
Method Detail
render_to(target_div)
- Parameters:
- target_div