Jquery 简明教程

jQuery - Widgets

一个 jQuery UI 部件是一个专门的 jQuery 插件。使用插件,我们可以为元素应用行为。但是,插件缺少某些内置功能,例如,将数据与其元素关联、公开方法、将选项与默认设置合并以及控制插件的生命周期。

a jQuery UI widget is a specialized jQuery plug-in.Using plug-in, we can apply behaviours to the elements. However, plug-ins lack some built-in capabilities, such as a way to associate data with its elements, expose methods, merge options with defaults, and control the plug-in’s lifetime.

Sr.No.

Widgets & Description

1

AccordionEnable to collapse the content, that is broken into logical sections.

2

AutocompleteEnable to provides the suggestions while you type into the field.

3

ButtonButton is an input of type submit and an anchor.

4

DatepickerIt is to open an interactive calendar in a small overlay.

5

DialogDialog boxes are one of the nice ways of presenting information on an HTML page.

6

MenuMenu shows list of items.

7

ProgressbarIt shows the progress information.

8

Select menuEnable a style able select element/elements.

9

SliderThe basic slider is horizontal and has a single handle that can be moved with the mouse or by using the arrow keys.

10

SpinnerIt provides a quick way to select one value from a set.

11

TabsIt is used to swap between content that is broken into logical sections.

12

TooltipIts provides the tips for the users.