From e7916ff7b3ed2247fd954c63a7537067e20371a4 Mon Sep 17 00:00:00 2001 From: Usman Akeju Date: Mon, 2 Jun 2014 18:53:54 +0200 Subject: [PATCH] Widget: document & window properties are jQuery-wrapped Updates doc to match. --- entries/jQuery.widget.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 1d54460d..d9c10006 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -137,7 +137,7 @@ defaultElement: An element to use when a widget instance is constructed without providing an element. For example, since the progressbar's defaultElement is "<div>", $.ui.progressbar({ value: 50 }) instantiates a progressbar widget instance on a newly created <div>.
  • - document: The document that the widget's element is within. Useful if you need to interact with widgets within iframes. + document: A jQuery object containing the document that the widget's element is within. Useful if you need to interact with widgets within iframes.
  • element: A jQuery object containing the element used to instantiate the widget. If you select multiple elements and call .myWidget(), a separate widget instance will be created for each element. Therefore, this property will always contain one element. @@ -164,7 +164,7 @@ widgetName: The name of the widget. For $.widget( "myNamespace.myWidget", {} ), widgetName will be "myWidget".
  • - window: The window that the widget's element is within. Useful if you need to interact with widgets within iframes. + window: A jQuery object containing the window that the widget's element is within. Useful if you need to interact with widgets within iframes.