Table of Contents
特性

" >特性

Home Web Front-end JS Tutorial jQuery EasyUI API Chinese Documentation - Panel panel_jquery

jQuery EasyUI API Chinese Documentation - Panel panel_jquery

May 16, 2016 pm 06:01 PM
panel panel

overrides defaults with $.fn.panel.defaults.


Usage Example
Creating Panel
1. Creating Panel via Markup
Creating Panel from Markup is easier. Add the 'easyui-panel' class to the

tag.
Copy code The code is as follows:

iconCls="icon-save" closable="true"
collapsible= "true" minimizable="true" maximizable=true>

panel content.


panel content.




2. Create Panel programmatically
Let us create a Panel with a toolbar in the upper right corner. .
Copy code The code is as follows:


panel content.


panel content.



$( '#p').panel({
width:500,
height:150,
title: 'My Panel',
tools: [{
iconCls:'icon-add' ,
handler:function(){alert('new')}
},{
iconCls:'icon-save'
handler:function(){alert('save')}
}]
});

Move Panel
Call the 'move' method to move the Panel to a new location.
Copy code The code is as follows:

$('#p').panel('move ',{
left:100,
top:100
});

Loading content
Let’s load the panel content via ajax and display something when loading is successful information.
Copy code The code is as follows:

$('#p').panel({
href:'content_url.php',
onLoad:function(){
alert('loaded successfully');
}
});

特性

名称

类型

说明

默认值

title

string

显示在Panel头部的标题文字。

null

iconCls

string

Panel里显示一个16x16图标的CSS类。

null

width

number

设置Panel的宽度。

auto

height

number

设置Panel的高度。

auto

left

number

设置Panel的左边位置。

null

top

number

设置Panel的顶部位置。

null

cls

string

Panel增加一个CSS类。

null

headerCls

string

Panel头部增加一个CSS类。

null

bodyCls

string

Panel身体增加一个CSS类。

null

style

object

Panel增加自定义格式的样式。

{}

fit

boolean

当设为true时,Panel 尺寸就适应它的父容器。

false

border

boolean

定义了是否显示Panel的边框。

true

doSize

boolean

设置为true,创建时Panel就调整尺寸并做成布局。

true

noheader

boolean

要是设置为truePanel的头部将不会被创建。

false

content

string

Panel身体的内容。

null

collapsible

boolean

定义了是否显示折叠按钮。

false

minimizable

boolean

定义了是否显示最小化按钮。

false

maximizable

boolean

定义了是否显示最大化按钮。

거짓

닫을 수 있음

부울

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to restore accidentally deleted GNOME Panel in Ubuntu How to restore accidentally deleted GNOME Panel in Ubuntu Jan 06, 2024 pm 11:01 PM

If you delete the panel option on gnome and some options on power management in the Ubuntu system, the menu bar and status bar in the Ubuntu system will disappear. Restoring gnomepanel can solve this problem, so how to do it? The editor below will bring you the Ubuntu method to restore the accidentally deleted GNOMEPanel, let's go and take a look! The method is as follows: 1. Directly press Alt+F2, then enter gnome-terminal in the dialog box that comes out, and press Enter to execute Pop up the command line terminal, or Ctrl+Alt+T to pop up the command line terminal. 2. Enter gconftool-2--shutdown.

Innolux's September consolidated revenue reached NT$19.9 billion, a year-on-year increase of 17.3% Innolux's September consolidated revenue reached NT$19.9 billion, a year-on-year increase of 17.3% Oct 07, 2023 pm 11:25 PM

According to news from this site on October 7, Innolux announced that its consolidated revenue in September 2023 will be NT$19.9 billion (Note from this site: currently approximately NT$4.517 billion), an increase of 3.6% from the previous month and an increase of 3.6% from the same period last year. An increase of 17.3%. In September, large-size combined shipments totaled 9.29 million pieces, an increase of 3.1% from the previous month; small and medium-sized combined shipments totaled 21.41 million pieces, a 16.1% decrease from the previous month. Innolux's third-quarter consolidated revenue was NT$57.7 billion (currently approximately NT$13.098 billion), an increase of 20.1% from the same period last year and an increase of 4.7% from the previous quarter. Large-size combined shipments totaled 27.95 million pieces, a decrease of 17.1% from the previous quarter; small and medium-sized combined shipments totaled 70.78 million pieces, a decrease from the previous quarter.

LCD is finally over: global mobile phone OLED panel shipments surpassed LCD for the first time! LCD is finally over: global mobile phone OLED panel shipments surpassed LCD for the first time! Jun 27, 2024 pm 06:46 PM

According to news on June 27, according to the latest report released by research organization Omdia, in the first quarter of 2024, global smartphone organic light-emitting diode (OLED) panel shipments exceeded liquid crystal display screens (LCD) for the first time in history. The report shows that annual smartphone display shipments will reach 1.45 billion units in 2023, a year-on-year increase of 5%. By the first half of 2024, shipments are expected to reach 715 million units, a year-on-year increase of 9%. Among them, active matrix organic light-emitting diode (AMOLED) screen shipments increased to 182 million units in the first quarter of 2024, a year-on-year increase of 39%. In contrast, thin film transistor liquid crystal display (TFTLCD) shipments dropped to 1.72 billion pieces, down 10% year-on-year. Om

In the first quarter of 2024, global AMOLED mobile phone panel shipments increased by 44.6% year-on-year, and domestic manufacturers accounted for 53.4% In the first quarter of 2024, global AMOLED mobile phone panel shipments increased by 44.6% year-on-year, and domestic manufacturers accounted for 53.4% Apr 22, 2024 pm 09:04 PM

According to CINNO Research statistics, global AMOLED smartphone panel shipments will be approximately 190 million pieces by the first quarter of 2024, a year-on-year increase of 44.6% and a month-on-month decrease of 18.8%. Data show that in terms of regions, South Korea's share narrowed to 46.6%, and domestic manufacturers accounted for 53.4% ​​of shipments. At the same time, the share increased by 15.6 percentage points, a month-on-month increase of 8.5 percentage points, and the share exceeded 50% for the first time. The market share narrowed from 53.3% in the same period last year to 41.0%. The market share fell by 12.3 percentage points year-on-year, and the share dropped to only 40%. The reliance on Apple and Samsung mobile phones is getting deeper and deeper, and orders from other domestic Android brands continue to be transferred out. BOE AM

CINNO Research: Global AMOLED mobile phone panel shipments will increase by 16.1% year-on-year in 2023 CINNO Research: Global AMOLED mobile phone panel shipments will increase by 16.1% year-on-year in 2023 Jan 24, 2024 pm 09:18 PM

According to CINNO Research statistics, AMOLED smartphone panel shipments in the global market in 2023 will be approximately 690 million pieces, a year-on-year increase of 16.1%. It is particularly worth mentioning that shipments in the fourth quarter increased by 30.9% year-on-year and 35.1% month-on-month. This shows that the AMOLED panel market is growing steadily. In the global AMOLED smartphone panel market, flexible AMOLED panels occupy an important position, accounting for 77.8%. Compared with last year, the proportion of flexible AMOLED panels increased by 9.2 percentage points. This means that consumer demand for flexible AMOLED panels is increasing. The success of AMOLED panels is mainly due to their excellent display effects

LG mass-produces 27-inch 480Hz QHD gaming OLED panel with record-breaking clarity and response speed LG mass-produces 27-inch 480Hz QHD gaming OLED panel with record-breaking clarity and response speed Sep 01, 2024 pm 03:37 PM

Recently, LG Display announced that its 27-inch 480Hz QHD gaming OLED panel has officially entered mass production. This panel has created a new high in refresh rate and response speed among OLED products. The 480Hz refresh rate is paired with a GtG grayscale response time of 0.02ms, which is a step further than the previous record of 0.03ms, bringing the ultimate experience to game types such as FPS and racing. . The new panel optimizes LG Display’s META Technology to improve the luminous efficiency of OLED materials. The image quality is enhanced and specular reflection is greatly reduced. The four-sided frameless design expands the field of view and brings an immersive experience. Pixel structure optimization WRGB pixel structure is optimized for gaming and document editing needs. Text display is clearer

Luotu Technology: Global shipments of large-size interactive flat panels increased by 21% in the third quarter and are expected to fall by about 10% for the whole year Luotu Technology: Global shipments of large-size interactive flat panels increased by 21% in the third quarter and are expected to fall by about 10% for the whole year Nov 06, 2023 pm 12:41 PM

According to news from this site on November 6, according to the official public account of Runto Technology, Runto Technology today released the data of the "Global Commercial Display Panel Market Analysis Quarterly Report", which shows that in the third quarter of 2023, global large-size interactive tablets Display panel shipments were 1.056 million pieces, an increase of 21.0% over the same period in 2022, and the shipment area was 1.641 million square meters, an increase of 18.7% over the same period in 2022. This site found that Luotu Technology stated that although the volume and area in the quarter both experienced a sharp increase of about 20%, due to the market drag in the first half of the year, the cumulative shipments in the first three quarters still fell by 7.4% compared with 2022. Cumulative shipment area decreased by 7.2%. ▲Unit: thousand pieces, thousand square meters, %, source: Runto

HTML, CSS, and jQuery: A technical guide to implementing a sliding panel effect HTML, CSS, and jQuery: A technical guide to implementing a sliding panel effect Oct 27, 2023 pm 04:39 PM

HTML, CSS, and jQuery: Technical Guidelines for Implementing Sliding Panel Effects With the popularity of mobile devices and the development of web applications, sliding panels, as a popular interaction method, are becoming more and more common in web design. By implementing the sliding panel effect, we can display more content in a limited space and improve the user experience. This article will introduce in detail how to use HTML, CSS and jQuery to achieve the sliding panel effect, and provide specific code examples. HTML Structure First, we need to create a basic

See all articles