From 970befceb4b782181fdca990971334a021000afb Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Sun, 28 Nov 2010 19:59:29 +0100 Subject: [PATCH] Spinner: Add demo for time spinner --- demos/spinner/index.html | 2 +- demos/spinner/time.html | 61 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 demos/spinner/time.html diff --git a/demos/spinner/index.html b/demos/spinner/index.html index 766f6552c..a49fa1368 100644 --- a/demos/spinner/index.html +++ b/demos/spinner/index.html @@ -12,7 +12,7 @@
  • Decimal
  • Currency
  • Map
  • -
  • Mousewheel Disabled
  • +
  • Time
  • Overflow
  • diff --git a/demos/spinner/time.html b/demos/spinner/time.html new file mode 100644 index 000000000..2f55d0f09 --- /dev/null +++ b/demos/spinner/time.html @@ -0,0 +1,61 @@ + + + + + jQuery UI Spinner - decimal + + + + + + + + + + + + + + + +
    +

    + + +

    +
    + +
    +

    + Example of a decimal spinner. Step is set to 0.01. +
    The code handling the culture change reads the current spinner value, + then changes the culture, then sets the value again, resulting in an updated + formatting, based on the new culture. +

    +
    + + +