📄 cfg.js
字号:
},"layout/FormLayout.js":{labelStyle:{type:"String",desc:"A CSS style specification string to add to each field label in this layout (defaults to '')."},elementStyle:{type:"String",desc:"A CSS style specification string to add to each field element in this layout (defaults to '')."},labelSeparator:{type:"String",desc:"The standard separator to display after the text of each form label (defaults to a colon ':'). To turn off separators completely specify empty string ''."}},"layout/TableLayout.js":{columns:{type:"Number",desc:"The total number of columns to create in the table for this layout. If not specified, all panels added to this layout will be rendered into a single row using a column per panel."}},"LoadMask.js":{removeMask:{type:"Boolean",desc:"True to create a single-use mask that is automatically destroyed after loading (useful for page loads), False to persist the mask element reference for multiple uses (e.g., for paged data widgets). Defaults to false."},msg:{type:"String",desc:"The text to display in a centered loading message box (defaults to 'Loading...')"},msgCls:{type:"String",desc:"The CSS class to apply to the loading message element (defaults to \"x-mask-loading\")"}},"menu/Adapter.js":{},"menu/BaseItem.js":{handler:{type:"Function",desc:"A function that will handle the click event of this menu item (defaults to undefined)"},canActivate:{type:"Boolean",desc:"True if this item can be visually activated (defaults to false)"},activeClass:{type:"String",desc:"The CSS class to use when the item becomes activated (defaults to \"x-menu-item-active\")"},hideOnClick:{type:"Boolean",desc:"True to hide the containing menu after this item is clicked (defaults to true)"},hideDelay:{type:"Number",desc:"Length of time in milliseconds to wait before hiding after a click (defaults to 100)"}},"menu/CheckItem.js":{group:{type:"String",desc:"All check items with the same group name will automatically be grouped into a single-select radio button group (defaults to '')"},itemCls:{type:"String",desc:"The default CSS class to use for check items (defaults to \"x-menu-item x-menu-check-item\")"},groupClass:{type:"String",desc:"The default CSS class to use for radio group check items (defaults to \"x-menu-group-item\")"},checked:{type:"Boolean",desc:"True to initialize this checkbox as checked (defaults to false). Note that if this checkbox is part of a radio group (group = true) only the last item in the group that is initialized with checked = true will be rendered as checked."}},"menu/ColorItem.js":{},"menu/ColorMenu.js":{},"menu/DateItem.js":{},"menu/DateMenu.js":{},"menu/Item.js":{icon:{type:"String",desc:"The path to an icon to display in this menu item (defaults to Ext.BLANK_IMAGE_URL)"},text:{type:"String",desc:"The text to display for this item (defaults to '')"},iconCls:{type:"String",desc:"A CSS class which sets a background image to be used as the icon for this item (defaults to '')"},itemCls:{type:"String",desc:"The default CSS class to use for menu items (defaults to 'x-menu-item')"},canActivate:{type:"Boolean",desc:"True if this item can be visually activated (defaults to true)"},showDelay:{type:"Number",desc:"Length of time in milliseconds to wait before showing this item (defaults to 200)"}},"menu/Menu.js":{defaults:{type:"Object",desc:"A config object that will be applied to all items added to this container either via the {@link #items} config or via the {@link #add} method. The defaults config can contain any number of name/value property pairs to be added to each item, and should be valid for the types of items being added to the menu."},items:{type:"Mixed",desc:"An array of items to be added to this menu. See {@link #add} for a list of valid item types."},minWidth:{type:"Number",desc:"The minimum width of the menu in pixels (defaults to 120)"},shadow:{type:"Boolean/String",desc:"True or \"sides\" for the default effect, \"frame\" for 4-way shadow, and \"drop\" for bottom-right shadow (defaults to \"sides\")"},subMenuAlign:{type:"String",desc:"The {@link Ext.Element#alignTo} anchor position value to use for submenus of this menu (defaults to \"tl-tr?\")"},defaultAlign:{type:"String",desc:"The default {@link Ext.Element#alignTo) anchor position value for this menu relative to its element of origin (defaults to \"tl-bl?\")"},allowOtherMenus:{type:"Boolean",desc:"True to allow multiple menus to be displayed at the same time (defaults to false)"}},"menu/MenuMgr.js":{},"menu/Separator.js":{itemCls:{type:"String",desc:"The default CSS class to use for separators (defaults to \"x-menu-sep\")"},hideOnClick:{type:"Boolean",desc:"True to hide the containing menu after this item is clicked (defaults to false)"}},"menu/TextItem.js":{text:{type:"String",desc:"The text to display for this item (defaults to '')"},hideOnClick:{type:"Boolean",desc:"True to hide the containing menu after this item is clicked (defaults to false)"},itemCls:{type:"String",desc:"The default CSS class to use for text items (defaults to \"x-menu-text\")"}},"MessageBox.js":{},"PagingToolbar.js":{displayInfo:{type:"Boolean",desc:"True to display the displayMsg (defaults to false)"},pageSize:{type:"Number",desc:"The number of records to display per page (defaults to 20)"},displayMsg:{type:"String",desc:"The paging status message to display (defaults to \"Displaying {start} - {end} of {total}\")"},emptyMsg:{type:"String",desc:"The message to display when no records are found (defaults to \"No data to display\")"}},"PanelDD.js":{},"Panel.js":{tbar:{type:"Object/Array",desc:"The top toolbar of the panel. This can be a {@link Ext.Toolbar} object, a toolbar config, or an array of buttons/button configs to be added to the toolbar. Note that this is not available as a property after render. To access the top toolbar after render, use {@link #getTopToolbar}."},bbar:{type:"Object/Array",desc:"The bottom toolbar of the panel. This can be a {@link Ext.Toolbar} object, a toolbar config, or an array of buttons/button configs to be added to the toolbar. Note that this is not available as a property after render. To access the bottom toolbar after render, use {@link #getBottomToolbar}."},header:{type:"Boolean",desc:"True to create the header element explicitly, false to skip creating it. By default, when header is not specified, if a {@link #title} is set the header will be created automatically, otherwise it will not. If a title is set but header is explicitly set to false, the header will not be rendered."},footer:{type:"Boolean",desc:"True to create the footer element explicitly, false to skip creating it. By default, when footer is not specified, if one or more buttons have been added to the panel the footer will be created automatically, otherwise it will not."},title:{type:"String",desc:"The title text to display in the panel header (defaults to ''). When a title is specified the header element will automatically be created and displayed unless {@link #header} is explicitly set to false."},buttons:{type:"Array",desc:"An array of {@link Ext.Button} instances (or valid button configs) to add to the footer of this panel"},autoLoad:{type:"Object/String/Function",desc:"A valid url spec according to the Updater {@link Ext.Updater#update} method. If autoLoad is not null, the panel will attempt to laod its contents immediately upon render."},frame:{type:"Boolean",desc:"True to render the panel with custom rounded borders, false to render with plain 1px square borders (defaults to false)."},border:{type:"Boolean",desc:"True to display the borders of the panel's body element, false to hide them (defaults to true). By default, the border is a 2px wide inset border, but this can be further altered by setting {@link #bodyBorder} to false."},bodyBorder:{type:"Boolean",desc:"True to display an interior border on the body element of the panel, false to hide it (defaults to true). This only applies when {@link #border} = true. If border = true and bodyBorder = false, the border will display as a 1px wide inset border, giving the entire body element an inset appearance."},bodyStyle:{type:"String",desc:"Custom CSS styles to be applied to the body element in the format expected by {@link Ext.Element#applyStyles} (defaults to null)."},iconCls:{type:"String",desc:"A CSS class that will provide a background image to be used as the panel header icon (defaults to '')."},collapsible:{type:"Boolean",desc:"True to make the panel collapsible and have the expand/collapse toggle button automatically rendered into the header tool button area, false to keep the panel statically sized with no button (defaults to false)."},tools:{type:"Array",desc:"An array of tool button configs to be added to the header tool area. Each tool config should contain the id of the tool, and can also contain an 'on' event handler config containing one or more event handlers to assign to this tool. The optional property 'hidden:true' can be included to hide the tool by default. Example usage: <pre><code> tools:[{ id:'refresh', // hidden:true, on:{ click: function(){ // refresh logic } } }] </code></pre> A valid tool id should correspond to the CSS classes 'x-tool-{id}' (normal) and 'x-tool-{id}-over' (mouseover). By default, the following tools are provided: toggle (default when collapsible = true), close, minimize, maximize, restore, gear, pin, unpin, right, left, up, down, refresh, minus, plus, search and save. Note that these tool classes only provide the visual button -- any required functionality must be provided by adding event handlers that implement the necessary behavior."},hideCollapseTool:{type:"Boolean",desc:"True to hide the expand/collapse tog
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -