The jQuery UI Widget Factory is an extensible base on which all of jQuery UI's widgets are built. Using the widget factory to build a plugin provides conveniences for state management, as well as conventions for common tasks like exposing plugin methods and changing options after instantiation.
| CARVIEW |
Select Language
HTTP/2 301
date: Fri, 26 Dec 2025 12:33:04 GMT
content-type: text/html; charset=UTF-8
location: https://learn.jquery.com/jquery-ui/widget-factory/
server: cloudflare
x-powered-by: PHP/8.2.29
vary: X-Forwarded-Proto
reporting-endpoints: csp-endpoint="https://csp-report-api.openjs-foundation.workers.dev/"
content-security-policy: default-src 'self'; script-src 'self' 'nonce-a6d741ab87b8340e' code.jquery.com; style-src 'self' 'nonce-a6d741ab87b8340e' code.jquery.com; style-src-attr 'unsafe-inline'; img-src 'self' data: secure.gravatar.com code.jquery.com; connect-src 'self' typesense.jquery.com; font-src 'self' data:; object-src 'none'; frame-ancestors 'none'; base-uri 'self'; block-all-mixed-content ; report-to csp-endpoint; report-uri https://csp-report-api.openjs-foundation.workers.dev/;
x-redirect-by: WordPress
cf-cache-status: DYNAMIC
cf-ray: 9b409abf3d35b155-BLR
HTTP/2 200
date: Fri, 26 Dec 2025 12:33:05 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
vary: Accept-Encoding
vary: X-Forwarded-Proto
x-powered-by: PHP/8.2.29
reporting-endpoints: csp-endpoint="https://csp-report-api.openjs-foundation.workers.dev/"
content-security-policy: default-src 'self'; script-src 'self' 'nonce-15d8d871ddb13035' code.jquery.com; style-src 'self' 'nonce-15d8d871ddb13035' code.jquery.com; style-src-attr 'unsafe-inline'; img-src 'self' data: secure.gravatar.com code.jquery.com; connect-src 'self' typesense.jquery.com; font-src 'self' data:; object-src 'none'; frame-ancestors 'none'; base-uri 'self'; block-all-mixed-content ; report-to csp-endpoint; report-uri https://csp-report-api.openjs-foundation.workers.dev/;
link: ; rel="https://api.w.org/"
link: ; rel="alternate"; title="JSON"; type="application/json"
content-encoding: gzip
last-modified: Fri, 26 Dec 2025 12:33:05 GMT
cf-cache-status: EXPIRED
cf-ray: 9b409ac47870b155-BLR
Widget Factory | jQuery Learning Center
Posted in: jQuery UI