Front-end basic tutorial - EasyLoader instance of jQuery EasyUI

  



     Brothers front-end HTML5 training sharing - EasyLoader instance of jQuery EasyUI

to move panel to other position

  $('#p').panel('move',{

  left:100,

  top:100

  });

  Attribute:

  title, type is string, is the title text displayed in the panel header, the default value is null.

  iconcls, of type string, uses a css class to display the 16x16 icon on the panel, the default value is null.

  width, the type is number, set the panel width, the default value is auto.

  height, the type is number, set the height of the panel, the default value is auto.

  left, the type is number, set the left position of the panel, the default value is null.

  top, the type is number, set the top position of the panel, the default value is null.

  cls, type is string, add a css class to the panel, the default value is null.

  headercls, the type is string, adds a css class to the panel header, the default value is null.

  bodycls, the type is string, add a css class to the panel body, the default value is null.

  style, type is object, add a panel with custom style, the default value is {}.

  fit, type is boolean, when set to true, its size cannot exceed its parent node, the default value is false.

  border, type is boolean, defines the border of the panel, the default value is true.

  dosize, the type is boolean. If set to true, the panel will be resized when creating the panel. The default value is true.

  noheader, the type is boolean, when set to true, the panel header will not be created, the default value is false.

  content, the type is string, the content of the panel body, the default value is null.

  The collaps tutorial is ible, the type is boolean, if defined, the collapsible button is displayed, the default value is false.

  minimizable, the type is boolean, if defined, the minimum button is displayed, the default value is false.

  maximizable, the type is boolean, if defined, the maximum button is displayed, the default value is false.

  closable, the type is boolean, if defined, the close button is displayed, the default value is false.

  tools, type is array, custom tools, each tool contains two attributes: iconcls and handler, the default value is [].

  collapsed, the type is boolean, if defined, there is a collapsed effect when initializing. The default value is false.

  minimized, type is boolean, if defined, the panel is initialized to be the largest. The default value is false.

  maximized, type is boolean, if defined, the panel is initialized to be minimal. The default value is false.

  colsed, the type is boolean, if defined, it is closed during initialization, and the default value is false.

  href, type is string, a remote url to load data, and then display in the panel, the default value is null.

  cache, the type is boolean, if set to true, call a url link to cache the content of the panel, the default value is true.

  loadingmessage, type Chang string, when loading remote data, the information displayed in the panel, the default value is loading....

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326408329&siteId=291194637