Jquery easyui tabpanel

Source: Internet
Author: User

 

1, Attributes

Name

Type

Description

Default Value

Width

Number

The width of the tabs container.

Auto

Height

Number

The height of the tabs container.

Auto

Plain

Boolean

If this parameter is set to true, Tab entries are not displayed using background container images.

False

Fit

Boolean

True: set the size of the tabs container to adapt to its parent container.

False

Border

Boolean

If it is set to true, the border of the tabs container is displayed.

True

Scrollincrement

Number

Each time you press the tab scroll button, the number of workers is rolled.

100

Scrollduration

Number

The number of milliseconds each scrolling animation should last.

400

Tools

Array

On the right toolbar, each tool option is the same as linkbutton.

Null

Title

String

The title Text of the tab panel.

 

Content

String

The content of the tab panel.

 

Href

String

Load the remote content to fill in the tab panel URL.

Null

Cache

Boolean

True caches the tab panel when a valid href feature is set.

True

Iconcls

String

CSS class of the icon displayed on the tab panel title.

Null

 

2, Method

Name

Parameters

Description

Options

None

Returns tabs options.

Tabs

None

Return all tabs.

Resize

None

Adjust the tabs container size and layout.

Add

Options

Add a new tab panel. The options parameter is a configuration object. For more information, see the tab panel feature.

Close

Title

Close a tab panel. The title parameter refers to the closed panel.

Gettab

Title

Obtain the specified tab panel.

Getselected

None

Obtain the Selected tab panel.

Select

Title

Select a tab panel.

Exists

Title

Whether a specific panel exists.

Update

Param

Update the specified tab panel. Param has two features:
Tab: The updated tab panel.
Options: Panel options.

 

3, Event

Name

Parameters

Description

Onload

Panel

Triggered when an Ajax tab Panel completes loading remote data.

Onselect

Title

Triggered when you select a tab panel.

Onbeforeclose

Title

When a tab panel is triggered before it is closed, if false is returned, the close operation is canceled.

Onclose

Title

Triggered when you close a tab panel.

Onadd

Title

Triggered when a new tab panel is added.

Onupdate

Title

Triggered when a tab panel is updated.

Oncontextmenu

E, title

Triggered when a tab panel is right-clicked.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.