w2ui
Home
Get started
Demos
Docs
Blog
Support
Layout
Grid
Toolbar
Sidebar
Tabs
Form
Popup
Utilities
ver 1.3
ver 1.4
ver 1.5
ver 2.0
Layout
Overview
Events
Properties
Methods
w2layout.panel_template
Object that is used to init panels.
Object, default = {...} // see below
All panels are created when in the contructor and all panels will inherit following properties
{ type: null, // type of the panel can be: left, right, top, bottom, preview title: '', // title for the panel size: 100, // width or height of the panel depending on panel type, for left/right it can be negative minSize: 20, // minimum size of the panel in px when it is resized maxSize: false, // if a number, then it defined maximum size of the panel hidden: false, // indicates if panel is hidden resizable: false, // indicates if panel is resizable overflow: 'auto', // overflow property of the panel, can have same values as similar CSS property style: '', // additional css styles for the panel html: '', // content of the panel, can be a string or an object with .render(box) method removed: null, // a one time call function when content current content is removed width: null, // width of the panel, read only height: null, // height of the panel, read only tabs: null, // w2tabs object for the panel toolbar: null, // w2toolbar object for the panel show: { // indicates what sections are shown tabs : false, toolbar : false }, // events onChange: null, // fires when content of the panel changed onRefresh: null, // refresh event for the panel onResizing: null, // resizing event for the panel onShow: null, // show event for the panel onHide: null // hide event for the panel }
User Comments
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus