diff --git a/entries/autocomplete.xml b/entries/autocomplete.xml index 48565212..d0d60fa3 100644 --- a/entries/autocomplete.xml +++ b/entries/autocomplete.xml @@ -177,6 +177,70 @@ Returns a jQuery object containing the menu element. Although the menu items are constantly created and destroyed, the menu element itself is created during initialization and is constantly reused. + + + +

Method that controls the creation of each option in the widget's menu. The method must create a new <li> element, append it to the menu, and return it.

+

Note: At this time the<ul> element created must contain an <a> element for compatibility with the menu widget. See the example below.

+
+ + The <ul> element that the newly created <li> element must be appended to. + + + + The string to display for the item. + + + The value to insert into the input when the item is selected. + + + + Add the item's value as a data attribute on the <li>. + + +
+ + + Method that controls building the widget's menu. The method is passed an empty <ul> and an array of items that match the user typed term. Creation of the individual <li> elements should be delegated to _renderItemData(). + + + An empty <ul> element to use as the widget's menu. + + + An Array of items that match the user typed term. Each item is an Object with label and value properties. + + + Add a CSS class name to the odd menu items. + + + + + Method responsible for sizing the menu before it is displayed. The menu element is available at this.menu.element. + + Always display the menu as 500 pixels wide. + + + +
A simple jQuery UI Autocomplete + + + A simple jQuery UI Dialog + + + diff --git a/entries/spinner.xml b/entries/spinner.xml index 082c2098..db7a8bf9 100644 --- a/entries/spinner.xml +++ b/entries/spinner.xml @@ -168,6 +168,40 @@ + + + + Method that returns HTML to use for the spinner's increment and decrement buttons. Each button must be given a ui-spinner-button class name for the associated events to work. + + + Use <button> elements for the increment and decrement buttons. + + + + + + Method that determines the HTML to use to wrap the spinner's <input> element. + + + Wrap the spinner with a <div> with no rounded corners. + + + +