Skip to content

Commit a2a01a4

Browse files
authored
Widget Factory: remove duplicated page
Fixes #335 Closes #636
1 parent aefe20b commit a2a01a4

File tree

3 files changed

+7
-302
lines changed

3 files changed

+7
-302
lines changed

order.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@
7575
"plugins": [
7676
"finding-evaluating-plugins",
7777
"basic-plugin-creation",
78-
"advanced-plugin-concepts",
79-
"stateful-plugins-with-widget-factory"
78+
"advanced-plugin-concepts"
8079
]
8180
},
8281
{

page/plugins.md

+6
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@ A jQuery plugin is simply a new method that we use to extend jQuery's prototype
1414
The idea of a plugin is to do something with a collection of elements. You could consider each method that comes with the jQuery core a plugin, like `.fadeOut()` or `.addClass()`.
1515

1616
You can make your own plugins and use them privately in your code or you can release them into the wild. There are thousands of jQuery plugins available online. The barrier to creating a plugin of your own is so low that you'll want to do it straight away!
17+
18+
While most existing jQuery plugins are stateless – that is, we call them on an element and that is the extent of our interaction with the plugin – there's a large set of functionality that doesn't fit into the basic plugin pattern.
19+
20+
In order to fill this gap, jQuery UI has implemented a more advanced plugin system. The new system manages state, allows multiple functions to be exposed via a single plugin, and provides various extension points. This system is called the Widget Factory and is exposed as `jQuery.widget` as part of jQuery UI 1.8; however, it can be used independently of jQuery UI.
21+
22+
For details on the capabilities of the Widget Factory, see this [How To Use the Widget Factory](/jquery-ui/widget-factory/how-to-use-the-widget-factory/).

page/plugins/stateful-plugins-with-widget-factory.md

-300
This file was deleted.

0 commit comments

Comments
 (0)