diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e9a7d254..4ec460d8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,5 @@ -Welcome! Thanks for your interest in contributing to api.jqueryui.com. You're **almost** in the right place. More information on how to contribute to this and all other jQuery Foundation projects is over at [contribute.jquery.org](http://contribute.jquery.org). You'll definitely want to take a look at the articles on contributing [documentation](http://contribute.jquery.org/documentation). +Welcome! Thanks for your interest in contributing to api.jqueryui.com. You're **almost** in the right place. More information on how to contribute to this and all other jQuery Foundation projects is over at [contribute.jquery.org](https://contribute.jquery.org). You'll definitely want to take a look at the articles on contributing [documentation](https://contribute.jquery.org/documentation). -You may also want to take a look at our [commit & pull request guide](http://contribute.jquery.org/commits-and-pull-requests/) and [style guides](http://contribute.jquery.org/style-guide/) for instructions on how to maintain your fork and submit your code. Before we can merge any pull request, we'll also need you to sign our [contributor license agreement](http://contribute.jquery.org/cla). +You may also want to take a look at our [commit & pull request guide](https://contribute.jquery.org/commits-and-pull-requests/) and [style guides](https://contribute.jquery.org/style-guide/) for instructions on how to maintain your fork and submit your code. Before we can merge any pull request, we'll also need you to sign our [contributor license agreement](https://contribute.jquery.org/cla). -You can find us on [IRC](http://irc.jquery.org), specifically in #jqueryui-dev and #jquery-content should you have any questions. If you've never contributed to open source before, we've put together [a short guide with tips, tricks, and ideas on getting started](http://contribute.jquery.org/open-source/). +You can find us on [IRC](https://irc.jquery.org), specifically in #jqueryui-dev and #jquery-content should you have any questions. If you've never contributed to open source before, we've put together [a short guide with tips, tricks, and ideas on getting started](https://contribute.jquery.org/open-source/). diff --git a/LICENSE.txt b/LICENSE.txt index a49ceb5d..8f2d6b59 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -34,7 +34,7 @@ Copyright and related rights for sample code are waived via CC0. Sample code is defined as all source code displayed within the prose of the documentation and all examples and demos. -CC0: http://creativecommons.org/publicdomain/zero/1.0/ +CC0: https://creativecommons.org/publicdomain/zero/1.0/ ==== diff --git a/README.md b/README.md index 2381691f..f6ef02c3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Building and Deploying -To build and deploy your changes for previewing in a [`jquery-wp-content`](https://github.com/jquery/jquery-wp-content) instance, follow the [workflow instructions](http://contribute.jquery.org/web-sites/#workflow) from our documentation on [contributing to jQuery Foundation web sites](http://contribute.jquery.org/web-sites/). +To build and deploy your changes for previewing in a [`jquery-wp-content`](https://github.com/jquery/jquery-wp-content) instance, follow the [workflow instructions](https://contribute.jquery.org/web-sites/#workflow) from our documentation on [contributing to jQuery Foundation web sites](https://contribute.jquery.org/web-sites/). ### Requirements diff --git a/categories.xml b/categories.xml index 4b291c01..53107ae4 100644 --- a/categories.xml +++ b/categories.xml @@ -1,46 +1,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/entries/button.xml b/entries/button.xml index f25e63d0..8c74946b 100644 --- a/entries/button.xml +++ b/entries/button.xml @@ -1,89 +1,89 @@ - Button Widget - Themeable buttons. - -

Button enhances standard form elements like buttons, inputs and anchors to themeable buttons with appropriate hover and active styles.

+ Button Widget + Themeable buttons. + +

Button enhances standard form elements like buttons, inputs and anchors to themeable buttons with appropriate hover and active styles.

-

In addition to basic push buttons, radio buttons and checkboxes (inputs of type radio and checkbox) can be converted to buttons. Their associated label is styled to appear as the button, while the underlying input is updated on click. For the association to work properly, give the input an id attribute, and refer to that in the label's for attribute. Don't nest the input inside the label, as that causes accessibility problems.

+

In addition to basic push buttons, radio buttons and checkboxes (inputs of type radio and checkbox) can be converted to buttons. Their associated label is styled to appear as the button, while the underlying input is updated on click. For the association to work properly, give the input an id attribute, and refer to that in the label's for attribute. Don't nest the input inside the label, as that causes accessibility problems.

-

In order to group radio buttons, you can use the Buttonset widget, which provides visual groupings of buttons.

+

In order to group radio buttons, you can use the Buttonset widget, which provides visual groupings of buttons.

-

When using an input of type button, submit or reset, support is limited to plain text labels with no icons.

+

When using an input of type button, submit or reset, support is limited to plain text labels with no icons.

- + -
    -
  • - ui-button: The DOM element that represents the button. This element will additionally have one of the following classes depending on the text and icons option: ui-button-text-only, ui-button-icon-only, ui-button-icons-only, ui-button-text-icons. -
      -
    • - ui-button-icon-primary: The element used to display the button's primary icon. This will only be present if a primary icon is provided in the icons option. -
    • -
    • - ui-button-text: The container around the textual content of the button. -
    • -
    • - ui-button-icon-secondary: The element used to display the button's secondary icon. This will only be present if a secondary icon is provided in the icons option. -
    • -
    -
  • -
+
    +
  • + ui-button: The DOM element that represents the button. This element will additionally have one of the following classes depending on the text and icons option: ui-button-text-only, ui-button-icon-only, ui-button-icons-only, ui-button-text-icons. +
      +
    • + ui-button-icon-primary: The element used to display the button's primary icon. This will only be present if a primary icon is provided in the icons option. +
    • +
    • + ui-button-text: The container around the textual content of the button. +
    • +
    • + ui-button-icon-secondary: The element used to display the button's secondary icon. This will only be present if a secondary icon is provided in the icons option. +
    • +
    +
  • +
-

Dependencies

- -
- - 1.8 - - -
+ + 1.8 + + + - - - - - - - - - - - - Refreshes the visual state of the button. Useful for updating button state after the native element's checked or disabled state is changed programmatically. - - - - - - - 100 - A simple jQuery UI Button - - - - + +
diff --git a/entries/jQuery.widget.xml b/entries/jQuery.widget.xml index 7b22f7da..e717c75d 100644 --- a/entries/jQuery.widget.xml +++ b/entries/jQuery.widget.xml @@ -1,558 +1,558 @@ - - Widget Factory - - - The name of the widget to create, including the namespace. - - - The base widget to inherit from. This must be a constructor that can be instantiated with the `new` keyword. Defaults to jQuery.Widget. - - - The object to use as a prototype for the widget. - - - Create stateful jQuery plugins using the same abstraction as all jQuery UI widgets. - -

You can create new widgets from scratch, using just the $.Widget object as a base to inherit from, or you can explicitly inherit from existing jQuery UI or third-party widgets. Defining a widget with the same name as you inherit from even allows you to extend widgets in place.

+ + Widget Factory + + + The name of the widget to create, including the namespace. + + + The base widget to inherit from. This must be a constructor that can be instantiated with the `new` keyword. Defaults to jQuery.Widget. + + + The object to use as a prototype for the widget. + + + Create stateful jQuery plugins using the same abstraction as all jQuery UI widgets. + +

You can create new widgets from scratch, using just the $.Widget object as a base to inherit from, or you can explicitly inherit from existing jQuery UI or third-party widgets. Defining a widget with the same name as you inherit from even allows you to extend widgets in place.

-

jQuery UI contains many widgets that maintain state and therefore have a slightly different usage pattern than typical jQuery plugins. All of jQuery UI's widgets use the same patterns, which is defined by the widget factory. So if you learn how to use one widget, then you'll know how to use all of them.

+

jQuery UI contains many widgets that maintain state and therefore have a slightly different usage pattern than typical jQuery plugins. All of jQuery UI's widgets use the same patterns, which is defined by the widget factory. So if you learn how to use one widget, then you'll know how to use all of them.

-

Looking for tutorials about the widget factory? Check out the articles on the jQuery Learning Center.

+

Looking for tutorials about the widget factory? Check out the articles on the jQuery Learning Center.

-

Note: This documentation shows examples using the progressbar widget but the syntax is the same for every widget.

+

Note: This documentation shows examples using the progressbar widget but the syntax is the same for every widget.

-

Initialization

+

Initialization

-

In order to track the state of the widget, we must introduce a full life cycle for the widget. The life cycle starts when the widget is initialized. To initialize a widget, we simply call the plugin on one or more elements.

+

In order to track the state of the widget, we must introduce a full life cycle for the widget. The life cycle starts when the widget is initialized. To initialize a widget, we simply call the plugin on one or more elements.

-

-				$( "#elem" ).progressbar();
-			
+

+                $( "#elem" ).progressbar();
+            
-

This will initialize each element in the jQuery object, in this case the element with an id of "elem".

+

This will initialize each element in the jQuery object, in this case the element with an id of "elem".

-

Options

+

Options

-

Because progressbar() was called with no parameters, the widget was initialized with its default options. We can pass a set of options during initialization to override the defaults:

+

Because progressbar() was called with no parameters, the widget was initialized with its default options. We can pass a set of options during initialization to override the defaults:

-

-				$( "#elem" ).progressbar({ value: 20 });
-			
+

+                $( "#elem" ).progressbar({ value: 20 });
+            
-

We can pass as many or as few options as we want during initialization. Any options that we don't pass will just use their default values.

+

We can pass as many or as few options as we want during initialization. Any options that we don't pass will just use their default values.

-

You can pass multiple options arguments. Those arguments will be merged into one object (similar to $.extend( true, target, object1, objectN )). This is useful for sharing options between instances, while overriding some properties for each one:

+

You can pass multiple options arguments. Those arguments will be merged into one object (similar to $.extend( true, target, object1, objectN )). This is useful for sharing options between instances, while overriding some properties for each one:

-

-				var options = { modal: true, show: "slow" };
-				$( "#dialog1" ).dialog( options );
-				$( "#dialog2" ).dialog( options, { autoOpen: false });
-			
+

+                var options = { modal: true, show: "slow" };
+                $( "#dialog1" ).dialog( options );
+                $( "#dialog2" ).dialog( options, { autoOpen: false });
+            
-

All options passed on init are deep-copied to ensure the objects can be modified later without affecting the widget. Arrays are the only exception, they are referenced as-is. This exception is in place to support data-binding, where the data source has to be kept as a reference.

+

All options passed on init are deep-copied to ensure the objects can be modified later without affecting the widget. Arrays are the only exception, they are referenced as-is. This exception is in place to support data-binding, where the data source has to be kept as a reference.

-

The default values are stored on the widget's prototype, therefore we have the ability to override the values that jQuery UI sets. For example, after setting the following, all future progressbar instances will default to a value of 80:

+

The default values are stored on the widget's prototype, therefore we have the ability to override the values that jQuery UI sets. For example, after setting the following, all future progressbar instances will default to a value of 80:

-

-				$.ui.progressbar.prototype.options.value = 80;
-			
+

+                $.ui.progressbar.prototype.options.value = 80;
+            
-

The options are part of the widget's state, so we can set options after initialization as well. We'll see this later with the option method.

+

The options are part of the widget's state, so we can set options after initialization as well. We'll see this later with the option method.

-

Methods

+

Methods

-

Now that the widget is initialized, we can query its state or perform actions on the widget. All actions after initialization take the form of a method call. To call a method on a widget, we pass the name of the method to the jQuery plugin. For example, to call the value() method on our progressbar widget, we would use:

+

Now that the widget is initialized, we can query its state or perform actions on the widget. All actions after initialization take the form of a method call. To call a method on a widget, we pass the name of the method to the jQuery plugin. For example, to call the value() method on our progressbar widget, we would use:

-

-				$( "#elem" ).progressbar( "value" );
-			
+

+                $( "#elem" ).progressbar( "value" );
+            
-

If the method accepts parameters, we can pass them after the method name. For example, to pass the parameter 40 to the value() method, we can use:

+

If the method accepts parameters, we can pass them after the method name. For example, to pass the parameter 40 to the value() method, we can use:

-

-				$( "#elem" ).progressbar( "value", 40 );
-			
+

+                $( "#elem" ).progressbar( "value", 40 );
+            
-

Just like other methods in jQuery, most widget methods return the jQuery object for chaining.

+

Just like other methods in jQuery, most widget methods return the jQuery object for chaining.

-

-				$( "#elem" )
-					.progressbar( "value", 90 )
-					.addClass( "almost-done" );
-			
+

+                $( "#elem" )
+                    .progressbar( "value", 90 )
+                    .addClass( "almost-done" );
+            
-

Each widget will have its own set of methods based on the functionality that the widget provides. However, there are a few methods that exist on all widgets, which are documented below.

- -

Events

- -

All widgets have events associated with their various behaviors to notify you when the state is changing. For most widgets, when the events are triggered, the names are prefixed with the widget name and lowercased. For example, we can bind to progressbar's change event which is triggered whenever the value changes.

- -

-				$( "#elem" ).bind( "progressbarchange", function() {
-					alert( "The value has changed!" );
-				});
-			
- -

Each event has a corresponding callback, which is exposed as an option. We can hook into progressbar's change callback instead of binding to the progressbarchange event, if we want to.

- -

-				$( "#elem" ).progressbar({
-					change: function() {
-						alert( "The value has changed!" );
-					}
-				});
-			
- -

All widgets have a create event which is triggered upon instantiation.

- -

Instance

- -

The widget's instance can be retrieved from a given element using the instance() method.

- -

-				$( "#elem" ).progressbar( "instance" );
-			
- -

If the instance() method is called on an element that is not associated with the widget, undefined is returned.

- -

-				$( "#not-a-progressbar" ).progressbar( "instance" ); // undefined
-			
- -

The instance is stored using jQuery.data() with the widget's full name as the key. Therefore, the :data selector can also determine whether an element has a given widget bound to it.

- -

-				$( "#elem" ).is( ":data('ui-progressbar')" ); // true
-				$( "#elem" ).is( ":data('ui-draggable')" ); // false
-			
- -

Unlike instance(), :data can be used even if the widget being tested for has not loaded.

- -

-				$( "#elem" ).nonExistentWidget( "instance" ); // TypeError
-				$( "#elem" ).is( ":data('ui-nonExistentWidget')" ); // false
-			
- -

You can also use :data to get a list of all elements that are instances of a given widget.

- -

-				$( ":data('ui-progressbar')" );
-			
- -

Properties

- -

All widgets have the following set of properties:

- -
    -
  • - 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: 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. -
  • -
  • - namespace: The location on the global jQuery object that the widget's prototype is stored on. For example a namespace of "ui" indicates that the widget's prototype is stored on $.ui. -
  • -
  • - options: An object containing the options currently being used by the widget. On instantiation, any options provided by the user will automatically be merged with any default values defined in $.myNamespace.myWidget.prototype.options. User specified options override the defaults. -
  • -
  • - uuid: A unique integer identifier for the widget. -
  • -
  • - version: The string version of the widget. For jQuery UI widgets this will be set to the version of jQuery UI the widget is using. Widget developers have to set this property in their prototype explicitly. -
  • -
  • - widgetEventPrefix: The prefix prepended to the name of events fired from this widget. For example the widgetEventPrefix of the draggable widget is "drag", therefore when a draggable is created, the name of the event fired is "dragcreate". By default the widgetEventPrefix of a widget is its name. Note: This property is deprecated and will be removed in a later release. Event names will be changed to widgetName:eventName (e.g. "draggable:create"). -
  • -
  • - widgetFullName: The full name of the widget including the namespace. For $.widget( "myNamespace.myWidget", {} ), widgetFullName will be "myNamespace-myWidget". -
  • -
  • - widgetName: The name of the widget. For $.widget( "myNamespace.myWidget", {} ), widgetName will be "myWidget". -
  • -
  • - window: A jQuery object containing the window that the widget's element is within. Useful if you need to interact with widgets within iframes. -
  • -
-
- - -
- - Base Widget - The base widget used by the widget factory. - - - - - - - - - - - - - - - The _create() method is the widget's constructor. - There are no parameters, but this.element and this.options are already set. - - - Set the background color of the widget's element based on an option. - - - - - - The public destroy() method cleans up all common data, events, etc. and then delegates out to _destroy() for custom, widget-specific, cleanup. - - - Remove a class from the widget's element when the widget is destroyed. - - - - - - All widgets trigger the create event. By default, no data is provided in the event, but this method can return an object which will be passed as the create event's data. - - - Pass the widget's options to create event handlers as an argument. - - - - - - This method allows the widget to define a custom method for defining options during instantiation. The user-provided options override the options returned by this method, which override the default options. - - - Make the widget element's id attribute available as an option. - - - - - - Widgets have the concept of initialization that is distinct from creation. Any time the plugin is called with no arguments or with only an option hash, the widget is initialized; this includes when the widget is created. - -

Note: Initialization should only be handled if there is a logical action to perform on successive calls to the widget with no arguments.

-
- - Call the open() method if the autoOpen option is set. - - -
- - - Called whenever the option() method is called, regardless of the form in which the option() method was called. -

Overriding this is useful if you can defer processor-intensive changes for multiple option changes.

-
- - Call a resize() method if the height or width options change. - - - - An object containing options to set, with the name of the option as the key and the option value as the value. - -
- - - Called from the _setOptions() method for each individual option. Widget state should be updated based on changes. - - - The name of the option to set. - - - A value to set for the option. - - - Update a widget's element when its height or width option changes. - - - - - - Binds event handlers to the specified element(s). Delegation is supported via selectors inside the event names, e.g., "click .foo". The _on() method provides several benefits of direct event binding: -
    -
  • Maintains proper this context inside the handlers.
  • -
  • Automatically handles disabled widgets: If the widget is disabled or the event occurs on an element with the ui-state-disabled class, the event handler is not invoked. Can be overridden with the suppressDisabledCheck parameter.
  • -
  • Event handlers are automatically namespaced and cleaned up on destroy.
  • -
-
- - Whether or not to bypass the disabled check. - - - Which element(s) to bind the event handlers to. If no element is provided, this.element is used for non-delegated events and the widget element is used for delegated events. - - - - An object in which the keys represent the event type and optional selector for delegation, and the values represent a handler function to be called for the event. - - - - Prevent the default action of all links clicked within the widget's element. - - -
- - - Unbinds event handlers from the specified element(s). - - - - The element(s) to unbind the event handlers from. Unlike the _on() method, the elements are required for _off(). - - - - One or more space-separated event types. - - - Unbind all click events from the widget's element. - - - - - - Invokes the method of the same name from the parent widget, with any specified arguments. Essentially .call(). - - - - Zero to many arguments to pass to the parent widget's method. - - - - Handle title option updates and call the parent widget's _setOption() to update the internal storage of the option. - - - - - - Invokes the method of the same name from the parent widget, with the array of arguments. Essentially .apply(). - - - Array of arguments to pass to the parent method. - - - Handle title option updates and call the parent widget's _setOption() to update the internal storage of the option. - - - - - - Invokes the provided function after a specified delay. Keeps this context correct. Essentially setTimeout(). -

Returns the timeout ID for use with clearTimeout().

-
- - The function to invoke. Can also be the name of a method on the widget. - - - - - The number of milliseconds to wait before invoking the function. Defaults to 0. - - - Call the _foo() method on the widget after 100 milliseconds. - - -
- - - Sets up element to apply the ui-state-hover class on hover. -

The event handlers are automatically cleaned up on destroy.

-
- - The element(s) to apply the hoverable behavior to. - - - Apply hoverable styling to all <div>s within the element on hover. - - -
- - - Sets up element to apply the ui-state-focus class on focus. -

The event handlers are automatically cleaned up on destroy.

-
- - The element(s) to apply the focusable behavior to. - - - Apply focusable styling to a set of elements within the widget. - - -
- - - Triggers an event and its associated callback. -

The option with the name equal to type is invoked as the callback.

-

The event name is the lowercase concatenation of the widget name and type.

-

Note: When providing data, you must provide all three parameters. If there is no event to pass along, just pass null.

-

If the default action is prevented, false will be returned, otherwise true. Preventing the default action happens when the handler returns false or calls event.preventDefault().

-
- - The type should match the name of a callback option. The full event type will be generated automatically. - - - The original event that caused this event to occur; useful for providing context to the listener. - - - A hash of data associated with the event. - - - Trigger a search event whenever a key is pressed. - - -
- - - Shows an element immediately, using built-in animation methods, or using custom effects. - See the show option for possible option values. - - - The element(s) to show. - - - The properties defining how to show the element. - - - Callback to invoke after the element has been fully shown. - - - Pass along the show option for custom animations. - - - - - - Hides an element immediately, using built-in animation methods, or using custom effects. - See the hide option for possible option values. - - - The element(s) to hide. - - - The properties defining how to hide the element. - - - Callback to invoke after the element has been fully hidden. - - - Pass along the hide option for custom animations. - - - -
- - - - - -
+ + + + + + + + +
diff --git a/entries/tooltip.xml b/entries/tooltip.xml index 50335b89..29a6723e 100644 --- a/entries/tooltip.xml +++ b/entries/tooltip.xml @@ -1,149 +1,149 @@ - Tooltip Widget - Customizable, themeable tooltips, replacing native tooltips. - -

Tooltip replaces native tooltips, making them themeable as well as allowing various customizations:

+ option-hide-default="true" option-show-default="true"> + Tooltip Widget + Customizable, themeable tooltips, replacing native tooltips. + +

Tooltip replaces native tooltips, making them themeable as well as allowing various customizations:

-
    -
  • Display other content than just the title, like inline footnotes or extra content retrieved via Ajax.
  • -
  • Customize the positioning, e.g., to center the tooltip above elements.
  • -
  • Add extra styling to customize the appearance, for warning or error fields.
  • -
+
    +
  • Display other content than just the title, like inline footnotes or extra content retrieved via Ajax.
  • +
  • Customize the positioning, e.g., to center the tooltip above elements.
  • +
  • Add extra styling to customize the appearance, for warning or error fields.
  • +
-

A fade animation is used by default to show and hide the tooltip, making the appearance a bit more organic, compared to just toggling the visibility. This can be customized with the show and hide options.

+

A fade animation is used by default to show and hide the tooltip, making the appearance a bit more organic, compared to just toggling the visibility. This can be customized with the show and hide options.

-

The items and content options need to stay in-sync. If you change one of them, you need to change the other.

+

The items and content options need to stay in-sync. If you change one of them, you need to change the other.

-

In general, disabled elements do not trigger any DOM events. Therefore, it is not possible to properly control tooltips for disabled elements, since we need to listen to events to determine when to show and hide the tooltip. As a result, jQuery UI does not guarantee any level of support for tooltips attached to disabled elements. Unfortunately, this means that if you require tooltips on disabled elements, you may end up with a mixture of native tooltips and jQuery UI tooltips.

+

In general, disabled elements do not trigger any DOM events. Therefore, it is not possible to properly control tooltips for disabled elements, since we need to listen to events to determine when to show and hide the tooltip. As a result, jQuery UI does not guarantee any level of support for tooltips attached to disabled elements. Unfortunately, this means that if you require tooltips on disabled elements, you may end up with a mixture of native tooltips and jQuery UI tooltips.

-

Keyboard interaction

+

Keyboard interaction

-

When the tooltip is open and the corresponding item has focus, the following key commands are available:

-
    -
  • ESCAPE: Close the tooltip.
  • -
+

When the tooltip is open and the corresponding item has focus, the following key commands are available:

+
    +
  • ESCAPE: Close the tooltip.
  • +
- + -
    -
  • - ui-tooltip: The outer container for the tooltip. -
      -
    • ui-tooltip-content: The content of the tooltip.
    • -
    -
  • -
+
    +
  • + ui-tooltip: The outer container for the tooltip. +
      +
    • ui-tooltip-content: The content of the tooltip.
    • +
    +
  • +
-

Dependencies

- -
- - 1.9 - -
+ + 1.9 + + - - - + + + - - - - - - - - - Closes a tooltip. This is only intended to be called for non-delegated tooltips. - - - - - - - - Programmatically open a tooltip. This is only intended to be called for non-delegated tooltips. - - - - - - - - - - - Triggered when a tooltip is shown, triggered on focusin or mouseover. - - - - - The generated tooltip element. - - - - - - Triggered when a tooltip is closed, triggered on focusout or mouseleave. - - - - - The generated tooltip element. - - - - - - 80 - Create a tooltip on the document, using event delegation for all elements with a title attribute. - - - - + +
diff --git a/pages/theming/css-framework.html b/pages/theming/css-framework.html index 102293bc..e4fe61d6 100644 --- a/pages/theming/css-framework.html +++ b/pages/theming/css-framework.html @@ -1,90 +1,90 @@ -

The following is a list of the class names used by jQuery UI. The classes are designed to create a visual consistency across an application and allow components to be themeable by jQuery UI ThemeRoller. The class names are split between ui.core.css and ui.theme.css, depending on whether styles are fixed and structural, or themeable (colors, fonts, backgrounds, etc) respectively.

+

The following is a list of the class names used by jQuery UI. The classes are designed to create a visual consistency across an application and allow components to be themeable by jQuery UI ThemeRoller. The class names are split between ui.core.css and ui.theme.css, depending on whether styles are fixed and structural, or themeable (colors, fonts, backgrounds, etc) respectively.

Layout Helpers

Widget Containers

Interaction States

Interaction Cues

Icons

States and images

Icon types

@@ -97,23 +97,23 @@

Misc Visuals

Corner Radius helpers

Overlay & Shadow