aboutsummaryrefslogtreecommitdiffstats
path: root/demos/functional/templates/ui.spinner.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/functional/templates/ui.spinner.html')
-rw-r--r--demos/functional/templates/ui.spinner.html70
1 files changed, 35 insertions, 35 deletions
diff --git a/demos/functional/templates/ui.spinner.html b/demos/functional/templates/ui.spinner.html
index acfc1bb80..3db5f288b 100644
--- a/demos/functional/templates/ui.spinner.html
+++ b/demos/functional/templates/ui.spinner.html
@@ -1,36 +1,36 @@
-<script type="text/javascript">
-
- var model = {
-
- renderAt: '#containerDemo',
-
- title: 'Spinner Demos',
-
- demos: [
-
- {
- title: 'Simple spinner',
- desc: 'With few lines of code you could build a spinner. You can try more options on the fly!',
- html: '<input id="spinner" type="text" />',
- destroy: '$("#spinner").spinner("destroy");',
- options: [
- { desc: 'Make a spinner', source: '$("#spinner").spinner();' },
- { desc: 'A spinner with min and max value', source: '$("#spinner").spinner({min:-100, max:150});' },
- { desc: 'Big stepping', source: '$("#spinner").spinner({stepping:100});' },
- { desc: 'Currency option', source: '$("#spinner").spinner({currency:"$"});' },
- { desc: 'Disable incremental option', source: '$("#spinner").spinner({incremental:false});' },
- { desc: 'Disable the spinner', source: '$("#spinner").spinner().spinner("disable");' },
- { desc: 'Enable the spinner', source: '$("#spinner").spinner().spinner("enable");' }
- ]
- }
-
- ]
- };
-
- $(function(){
-
- uiRenderDemo(model);
-
- });
-
+<script type="text/javascript">
+
+ var model = {
+
+ renderAt: '#containerDemo',
+
+ title: 'Spinner Demos',
+
+ demos: [
+
+ {
+ title: 'Simple spinner',
+ desc: 'With few lines of code you could build a spinner. You can try more options on the fly!',
+ html: '<input id="spinner" type="text" />',
+ destroy: '$("#spinner").spinner("destroy");',
+ options: [
+ { desc: 'Make a spinner', source: '$("#spinner").spinner();' },
+ { desc: 'A spinner with min and max value', source: '$("#spinner").spinner({min:-100, max:150});' },
+ { desc: 'Big stepping', source: '$("#spinner").spinner({stepping:100});' },
+ { desc: 'Currency option', source: '$("#spinner").spinner({currency:"$"});' },
+ { desc: 'Disable incremental option', source: '$("#spinner").spinner({incremental:false});' },
+ { desc: 'Disable the spinner', source: '$("#spinner").spinner().spinner("disable");' },
+ { desc: 'Enable the spinner', source: '$("#spinner").spinner().spinner("enable");' }
+ ]
+ }
+
+ ]
+ };
+
+ $(function(){
+
+ uiRenderDemo(model);
+
+ });
+
</script> \ No newline at end of file