Commit Graph

37 Commits

Author SHA1 Message Date
Jörn Zaefferer
923d1ec3bb adding version property to all ui components 2008-10-05 16:29:21 +00:00
Ca-Phun Ung
993bb9adfd Spinner: spinner casing now sets itself a unique id based on the id of the original input textbox. If no id exists in the original then no id is set to the casing. 2008-10-05 10:44:15 +00:00
Ca-Phun Ung
c80facd63c Spinner: further refactored number formatter. 3 lines! 2008-10-03 04:08:08 +00:00
Ca-Phun Ung
898c395227 Spinner: fixed IE6 bugs with spinner height for data lists. 2008-10-02 18:49:42 +00:00
Ca-Phun Ung
5958c417f6 Spinner: added thousand separator format to numbers and refactored code. 2008-10-02 18:06:30 +00:00
Ca-Phun Ung
11e3a32c5c Spinner: reduced mousewheel timer from 500ms to 400ms (thanks cloudream) 2008-09-27 03:36:13 +00:00
Ca-Phun Ung
24afc68d5b Spinner: added a timer to mousewheel interaction which fires a change event when the mousewheel stops spinning.
Added a few missing options to test case.
2008-09-26 07:21:56 +00:00
Ca-Phun Ung
b5ce43ac6a Spinner: Add change event to dblclick and created a new visual test for all callbacks. timer is now set to 0 after being cleared. 2008-09-23 07:58:29 +00:00
Scott González
6d39f52942 Spinner: Fixed warnings. 2008-09-23 00:57:25 +00:00
Ca-Phun Ung
b6ad959811 Spinner: implemented init callback via trigger (thanks Scott González) 2008-09-22 11:22:14 +00:00
Ca-Phun Ung
dcb341e7f8 Spinner: new options: format, items & decimals (r728).
items: accepts a array of objects which will be converted to a list of items by the spinner.

format: printf style formatting of each item - accepts named arguments.
2008-09-20 19:04:01 +00:00
Ca-Phun Ung
27ba2ff84f Spinner: decimals and stepping now independent (user request) 2008-09-20 14:46:26 +00:00
Richard Worth
a522291a7b whitespace: Removed trailing whitespace from non-blank lines 2008-09-20 03:23:42 +00:00
Richard Worth
0bae0870d9 whitespace 2008-09-20 02:43:18 +00:00
Scott González
939448c756 Set svn:eol-style to native for new plugins. 2008-09-19 18:00:57 +00:00
Scott González
7c2e7965e9 Reverted r695. 2008-09-19 14:20:14 +00:00
Eduardo Lundgren
8d04c3594c Remove Trailing Spaces 2008-09-19 14:08:41 +00:00
Ca-Phun Ung
accc76bc64 Spinner: added an init callback which exposes the addItem method for dynamic population of spinner via an external objects. 2008-09-09 08:23:29 +00:00
Richard Worth
f6008ca694 Fixed #3284 - Put version numbers inside of individual files. 2008-09-04 22:03:30 +00:00
Ca-Phun Ung
9248368f20 Spinner: For DOM based spinners, the height is now calculated based on number of children. 2008-08-30 20:01:23 +00:00
Ca-Phun Ung
66d90af241 spinner: changed data list to support any DOM container not just <ul> 2008-08-30 19:15:08 +00:00
Ca-Phun Ung
ea0ce45c97 spinner: Included support for generic objects - currently only supports <ul>. See visual test (#s4) for example usage. Needs more work... 2008-08-26 07:28:14 +00:00
Eduardo Lundgren
d8dc2ded59 Use type button to avoid undesired submits 2008-08-24 23:33:16 +00:00
Scott González
49691da7ad Spinner: Fixed key code constants. 2008-08-24 19:13:16 +00:00
Chi Cheng
293d6bc595 Spinner: use keyCode from ui.core.js 2008-08-24 15:32:22 +00:00
Chi Cheng
ad3fd31b44 JSLint check 2008-08-23 02:38:28 +00:00
Ca-Phun Ung
57ed1acc45 spinner: added support for numeric keypad 2008-08-21 15:31:11 +00:00
Ca-Phun Ung
68f18e1c2d spinner: fixed rounding error when stepping=0.3 2008-08-19 17:03:59 +00:00
Chi Cheng
c0147da718 Spinner: ui() doesn't return instance 2008-08-19 16:31:42 +00:00
Chi Cheng
bf1d243ce7 Spinner: this.options._decimals -> this._decimals
decimal test
2008-08-19 15:52:35 +00:00
Ca-Phun Ung
198d809f9b Added enhancements to ui.spinner as seen at http://yelotofu.com/labs/jquery/UI/spinner/spinner.html
Enhancements include:
- removal of all hardcoded styling for better theming capability
- visual test page made more appealing supporting browser zooming
- added utility functions to disable, enable and destroy ui.spinner
- up/down buttons listens to more mouse and keyboard events
- support for decimal and currency format
- ui.spinner now restricts input on keydown
- cleanup occurs when the input textbox loses focus. this seems to be a better approach for future scalability
2008-08-19 07:18:04 +00:00
Chi Cheng
41245e6a7d Spinner:
- handle quick click on div (shortor than 100ms)
- handle dblclick
2008-08-18 11:37:19 +00:00
Chi Cheng
69bbd38444 init -> _init 2008-08-16 14:45:28 +00:00
Chi Cheng
d31077469f Spinner: make internal methods internal, fixs #3207
functional demo fix(not associate with internal change)
2008-08-16 05:55:17 +00:00
Keith Wood
c400d7d68d Add support for mousewheel 2008-08-10 07:28:44 +00:00
Scott González
12cdae02b1 New plugins for 1.6: Fixed headers and indentation. 2008-07-10 02:50:51 +00:00
Paul Bakaus
4e06fa6304 - removed 1.6 branch
- changed version in tags/1.5.2 to 1.5.2
- merged trunk with 1.6
2008-07-09 11:09:40 +00:00