ArticleDirectory
- What new things does jquery UI 1.8 have?
Author:Dion almaer
Address: http://ajaxian.com/archives/jquery-ui-1-8-comes-with-new-plugins-effect-and-fixes
Jquery UI 1.8 is released-it includes several new plug-ins, a new effect, and some defect fixes. You can get the latest source code on GitHub.
What new things does jquery UI 1.8 have? Position Tool
Now you can locate any other element relative to any element (or even a window or the current mouse position. The real "less write and more" method is also very simple to use. You can select the elements you want to locate and talk about it with the position tool's API method ~
(Note: the elements in the preceding section should refer to DOM elements)
Button widget)
With the variable skin theme button plug-in, you can replace the original HTML button elements used in normal times, such as <button/>, <input type = "Submit"/>, even custom <a class = "button"/> to achieve better consistent presentation. We have also updated some other UI parts with buttons, such as the dialog box. You can use button parts or the original HTML button elements on these parts. Thanks again to the Development Engineer (PE), the idea of filament group, and the idea of Jörn zaefferer which has turned the idea into practice ~ Of course, thanks to our entire jquery UICommunityFeedback from the testing adjustment stage after early design and development. It is exciting to have beautiful form elements, and the button components are just the beginning.
AutoComplete widget)
Now, you can have any text input control pop up a floating layer that assists users in text input. provide suggestions or optional information based on user input. This auto-Prompt part is designed based on the famous AutoComplete plug-in of Jörn zaefferer. Like button parts, we try to simplify the parts API while retaining the necessary customization as needed. For example, you can provide local data for the source attribute in the configuration options (: JSON data or arrays in the page), or provide a callback function, in this function, Ajax is used to obtain data from the server in real time. A single option parameter can be reloaded. We will use this new API method to develop new parts and reconstruct existing parts. You may have any idea about this change, we are happy to hear it. This kind of API change should be considered a big change. Our purpose is to streamline the UI library, while retaining flexibility and powerful functions as much as possible.
Widget Factory)
In this release, Scott González and J örn zaefferer completed the rebuilding and updating of jquery UI component factory classes with the help of the community. these updates make it easier for you to use the API of the component factory to create parts or expand existing parts.
Note: For more details, visit the official website.