From 727a80a4d9193508b747b4f0136a65598545f4bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Zaefferer?= Date: Mon, 23 May 2011 23:52:29 +0200 Subject: [PATCH] Widget: Demo. --- demos/index.html | 1 + demos/widget/default.html | 127 ++++++++++++++++++++++++++++++++++++++ demos/widget/index.html | 18 ++++++ 3 files changed, 146 insertions(+) create mode 100644 demos/widget/default.html create mode 100644 demos/widget/index.html diff --git a/demos/index.html b/demos/index.html index b1cfcdd44..53a2557a2 100644 --- a/demos/index.html +++ b/demos/index.html @@ -300,6 +300,7 @@
Show
Utilities
Position
+
Widget
About jQuery UI
Getting Started
Upgrade Guide
diff --git a/demos/widget/default.html b/demos/widget/default.html new file mode 100644 index 000000000..0629d862a --- /dev/null +++ b/demos/widget/default.html @@ -0,0 +1,127 @@ + + + + + jQuery UI Widget - Default functionality + + + + + + + + + + + +
+ +
+

This is an editable header

+

And an editable paragraph

+ +
+ +
+ + + +
+

This demo shows a simple custom widget built using the widget factory (jquery.ui.widget.js).

+

The header is set to change the element on blur, the paragraph only changes when you submit with Enter.

+

For more details on the widget factory, visit the jQuery UI planning wiki.

+
+ + + diff --git a/demos/widget/index.html b/demos/widget/index.html new file mode 100644 index 000000000..1ecb4feea --- /dev/null +++ b/demos/widget/index.html @@ -0,0 +1,18 @@ + + + + + jQuery UI Widget Demo + + + + +
+

Examples

+ +
+ + +