You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Components/Datagrid/Column.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
/**
11
11
* @method $this title(string $title) [The column title text.]
12
12
* @method $this field(string $field) [The column field name.]
13
-
* @method $this width(int $width) [The width of column. If not defined, the width will auto expand to fit its contents. No width definition will reduce performance.]
13
+
* @method $this width(string $width) [The width of column. If not defined, the width will auto expand to fit its contents. No width definition will reduce performance.]
14
14
* @method $this rowspan(int $rowspan) [Indicate how many rows a cell should take up.]
15
15
* @method $this colspan(int $colspan) [Indicate how many columns a cell should take up.]
16
16
* @method $this align(DatagridColumnAlign $align) [Indicate how to align the column data. 'left', 'right', 'center' can be used.]
Copy file name to clipboardExpand all lines: Components/Form.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@
25
25
*
26
26
* Method
27
27
* @method $this mSubmit(string|Js $options) [Do the submit action, the options parameter is an object which contains following properties:<br>url: the action URL<br>onSubmit: callback function before submit<br>success: callback function after submit successfully]
28
-
* @method $this mLoad(array $data) [Load records to fill the form. The data parameter can be a string or a object type, when string acts as a remote URL, otherwise acts as a local record.]
28
+
* @method $this mLoad(array|string $data) [Load records to fill the form. The data parameter can be a string or a object type, when string acts as a remote URL, otherwise acts as a local record.]
29
29
* @method $this mClear() [Clear the form data.]
30
30
* @method $this mReset() [Reset the form data.]
31
31
* @method $this mValidate() [Do the form fields validation, return true when all fields is valid. The method is used with the validatebox plugin.]
Copy file name to clipboardExpand all lines: Components/Layout.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,14 @@
3
3
namespaceEasyui\Components;
4
4
5
5
useEasyui\Component;
6
+
useEasyui\Components\Region\PanelasRegionPanel;
6
7
useEasyui\Enums\LayoutRegion;
7
8
useEasyui\Enums\LayoutPanelRegion;
8
9
useEasyui\Js;
9
10
10
11
/**
11
12
* Property/Params
12
13
* @method $this pFit(bool $fit) [Set to true to set the layout size fit its parent container. When creating layout on 'body' tag, it will be auto maximized to the full size of whole page.]
13
-
* @method $this p() []
14
14
*
15
15
* Event
16
16
* @method $this eOnCollapse(Js $onCollapse) [Fires when collapse a region panel.]
@@ -23,7 +23,7 @@
23
23
* @method $this mPanel(LayoutPanelRegion $region) [Return the specified panel, the 'region' parameter possible values:'north', 'south', 'east', 'west', 'center'.]
24
24
* @method $this mCollapse(LayoutRegion $region) [Collapse the specified panel, the 'region' parameter possible values:'north', 'south', 'east', 'west'.]
25
25
* @method $this mExpand(LayoutRegion $region) [Expand the specified panel, the 'region' parameter possible values:'north', 'south', 'east', 'west'.]
26
-
* @method $this mAdd($options) [Add a specified panel, the options parameter is a config object, see tab panel properties for more details.]
26
+
* @method $this mAdd(RegionPanel $options) [Add a specified panel, the options parameter is a config object, see tab panel properties for more details.]
27
27
* @method $this mRemove(LayoutRegion $region) [Remove the specified panel, the 'region' parameter possible values:'north', 'south', 'east', 'west'.]
28
28
* @method $this mSplit($region) [Split the region panel.]
29
29
* @method $this mUnsplit($region) [Unsplit the region panel.]
* @method $this pTitleDirection(PanelTitleDirection $titleDirection) [The header title direction. Possible values are: 'up', 'down'. This property is valid only when the 'halign' property is set to 'left' or 'right'.]
32
-
* @method $this pCollapsible(bool $collapsible) [Defines if to show collapsible button.]
33
-
* @method $this pMinimizable(bool $minimizable) [Defines if to show minimizable button.]
34
-
* @method $this pMaximizable(bool $maximizable) [Defines if to show maximizable button.]
35
-
* @method $this pClosable(bool $closable) [Defines if to show closable button.]
36
-
* @method $this pTools(string|array $tools) [Custom tools, possible values:<br>1) an array, each element contains iconCls and handler properties.<br>2) a selector that indicating the tools]
* @method $this pCollapsed(bool $collapsed) [Defines if the panel is collapsed at initialization.]
44
-
* @method $this pMinimized(bool $minimized) [Defines if the panel is minimized at initialization.]
45
-
* @method $this pMaximized(bool $maximized) [Defines if the panel is maximized at initialization.]
46
-
* @method $this pClosed(bool $closed) [Defines if the panel is closed at initialization.]
47
-
* @method $this pHref(string $href) [A URL to load remote data and then display in the panel. Notice that the content will not be loaded until the panel is open and expand.]
48
-
* @method $this pCache(bool $cache) [True to cache the panel content that loaded from href.]
49
-
* @method $this pLoadingMessage(string $loadingMessage) [When loading remote data show a message in the panel.]
50
-
* @method $this pExtractor(Js $extractor) [Defines how to extract the content from ajax response, return extracted data.]
* @method $this pQueryParams(array $queryParams) [The additional parameters that will be sent when loading a content page.]
53
-
* @method $this pLoader(Js $loader) [Defines how to load content page from remote server. This function takes following parameters:<br>param: the parameter object to pass to remote server.<br>success(data): the callback function that will be called when retrieve data successfully.<br>error(): the callback function that will be called when failed to retrieve data.]
54
-
*
55
-
* @method $this pSelected(bool $selected) [ONLY FOR accordion. Set to true to expand the panel.]
56
-
* @method $this pDisabled(bool $disabled) [ONLY FOR TABS. When set to true, the tab panel will be disabled.]
57
-
*
58
-
* Event
59
-
* @method $this eOnBeforeLoad(Js $onBeforeLoad) [Fires before loading a content page, return false to ignore this action.]
60
-
* @method $this eOnLoad(Js $onLoad) [Fires when remote data is loaded.]
61
-
* @method $this eOnLoadError(Js $onLoadError) [Fires when some errors occur to load content page.]
62
-
* @method $this eOnBeforeOpen(Js $onBeforeOpen) [Fires before panel is opened, return false to stop the open.]
63
-
* @method $this eOnOpen(Js $onOpen) [Fires after panel is opened.]
64
-
* @method $this eOnBeforeClose(Js $onBeforeClose) [Fires before panel is closed, return false to cancel the close. The panel declared below cannot be closed.]
65
-
* @method $this eOnClose(Js $onClose) [Fires after panel is closed.]
66
-
* @method $this eOnBeforeDestroy(Js $onBeforeDestroy) [Fires before panel is destroyed, return false to cancel the destroy.]
67
-
* @method $this eOnDestroy(Js $onDestroy) [Fires after panel is destroyed.]
68
-
* @method $this eOnBeforeCollapse(Js $onBeforeCollapse) [Fires before panel is collapsed, return false to stop the collapse.]
69
-
* @method $this eOnCollapse(Js $onCollapse) [Fires after panel is collapsed.]
70
-
* @method $this eOnBeforeExpand(Js $onBeforeExpand) [Fires before panel is expanded, return false to stop the expand.]
71
-
* @method $this eOnExpand(Js $onExpand) [Fires after panel is expanded.]
72
-
* @method $this eOnResize(Js $onResize) [Fires after panel is resized.<br>width: the new outer width<br>height: the new outer height]
73
-
* @method $this eOnMove(Js $onMove) [Fires after panel is moved.<br>left: the new left position<br>top: the new top position]
74
-
* @method $this eOnMaximize(Js $onMaximize) [Fires after the window has been maximized.]
75
-
* @method $this eOnRestore(Js $onRestore) [Fires after the window has been restored to its original size.]
76
-
* @method $this eOnMinimize(Js $onMinimize) [Fires after the window has been minimized.]
* @method $this mPanel() [Return the outer panel object.]
81
-
* @method $this mHeader() [Return the panel header object.]
82
-
* @method $this mFooter() [Return the panel footer object.]
83
-
* @method $this mBody() [Return the panel body object.]
84
-
* @method $this mSetTitle($title) [Set the title text of header.]
85
-
* @method $this mOpen($forceOpen) [When forceOpen parameter set to true, the panel is opened bypass the onBeforeOpen callback.]
86
-
* @method $this mClose($close) [When forceClose parameter set to true, the panel is closed bypass the onBeforeClose callback.]
87
-
* @method $this mDestroy($forceDestroy) [When forceDestroy parameter set to true, the panel is destroyed bypass the onBeforeDestroy callback.]
88
-
* @method $this mClear() [Clear the panel content.]
89
-
* @method $this mRefresh($href) [Refresh the panel to load remote data. If the 'href' parameter is assigned, it will override the old 'href' property.]
90
-
* @method $this mResize($options) [Set panel size and do layout. The options object contains following properties:<br>width: the new panel width<br>height: the new panel height<br>left: the new panel left position<br>top: the new panel top position]
91
-
* @method $this mDoLayout() [Set the sizes of child components within the panel.]
92
-
* @method $this mMove($options) [Move the panel to a new position. The options object contains following properties:<br>left: the new panel left position<br>top: the new panel top position]
93
-
* @method $this mMaximize() [Fits the panel winthin its container.]
94
-
* @method $this mMinimize() [Minimizing the panel.]
95
-
* @method $this mRestore() [Restores the maximized panel back to its original size and position.]
96
-
* @method $this mCollapse($animate) [Collapses the panel body. The 'animate' parameter value indicates if to use animation effect.]
97
-
* @method $this mExpand($animate) [Expand the panel body. The 'animate' parameter value indicates if to use animation effect.]
* @method $this title(string $title) [The layout panel title text.]
12
+
* @method $this region(LayoutPanelRegion $region) [Defines the layout panel position, the value is one of following: north, south, east, west, center.]
13
+
* @method $this border(bool $border) [True to show layout panel border.]
14
+
* @method $this split(bool $split) [True to show a split bar which user can change the panel size.]
15
+
* @method $this iconCls(string $iconCls) [An icon CSS class to show a icon on panel header.]
16
+
* @method $this href(string $href) [An URL to load data from remote server.]
17
+
* @method $this collapsible(bool $collapsible) [Defines if to show collapsible button.]
* @method $this maxWidth(int $maxWidth) [The maximum panel width.]
21
+
* @method $this maxHeight(int $maxHeight) [The maximum panel height.]
22
+
* @method $this expandMode(LayoutPanelExpandMode|null $expandMode) [The expanding mode when click on the collapsed panel. Possible values are 'float', 'dock' and null.<br> * float: the region panel will expand and float on the top.<br> dock: the region panel will expand and dock on the layout.<br>null: nothing happens.]
* @method $this hideExpandTool(bool $hideExpandTool) [True to hide the expand tool on the collapsed panel.]
25
+
* @method $this hideCollapsedContent(bool $hideCollapsedContent) [True to hide the title bar on the collapsed panel.]
26
+
* @method $this collapsedContent(Js $collapsedContent) [The title content to display on the collapsed panel, possible values:<br>1) the title string.<br>2) a function that returns the title content.]
27
+
* @method $this width($width) [The title content to display on the collapsed panel, possible values:<br>1) the title string.<br>2) a function that returns the title content.]
0 commit comments