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: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,11 @@
3
3
4
4
***Pixel mode:** Now your can choose to work with `pixel` or `percent` mode. In `pixel` mode, an area with wildcard size (`size="*"`) is mandatory.
5
5
***minSize & maxSize area:** Now you can set minimum and maximum sizes for each areas whatever the current mode (Only exception is the wildcard area size in `pixel` mode).
6
+
***lockSize area:** Use `<as-split-area [size]="X" [lockSize]="true">` as a shortcut for `<as-split-area [size]="X" [minSize]="X" [maxSize]="X">`.
6
7
***gutterDblClick event:** Double click on gutter is now catchable with `(gutterDblClick)`.
7
8
***gutterDblClickDuration property:** Specify duration between 2 clicks to consider a double click `(gutterDblClick)` event.
8
9
***exportAs:** You can access `SplitComponent` as `<as-split #split="asSplit">` and `SplitAreaDirective` as `<as-split-area #area1="asSplitArea">` from template variables easily with `ViewChild`.
10
+
***CSS classes updates:** Some `split`, `area` and `gutter` elements has CSS class names update.
9
11
***Internal:** Remove `EventManagerPlugin` and start/end/click subscribers stuff which was added to avoid some change detection runs but adding too much complexity.. I stopped going against the framework, clearer now!
Copy file name to clipboardExpand all lines: src_app/app/component/doc/doc.route.component.ts
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ export class DocComponent {
34
34
readonlysplitDoc={
35
35
inputs: [
36
36
{name: 'direction',type: 'string',default: '"horizontal"',details: 'Select split direction: <code>"horizontal"</code> or <code>"vertical"</code>.'},
37
-
{name: 'unit',type: 'string',default: '"percent"',details: `Selected unit you want to use: <code>"percent"</code> or <code>"pixel"</code>.`},
37
+
{name: 'unit',type: 'string',default: '"percent"',details: `Selected unit you want to use: <code>"percent"</code> or <code>"pixel"</code> to specify area sizes.`},
38
38
{name: 'gutterSize',type: 'number',default: '11',details: `Gutters's size (dragging elements) in pixels.`},
39
39
{name: 'gutterStep',type: 'number',default: '1',details: `Gutter step while moving in pixels.`},
40
40
{name: 'restrictMove',type: 'boolean',default: 'false',details: 'Set to <code>true</code> if you want to limit gutter move to adjacent areas.'},
@@ -59,10 +59,11 @@ export class DocComponent {
59
59
60
60
readonlysplitAreaDoc={
61
61
inputs: [
62
-
{name: 'size',type: 'number',default: '-',details: `Size of the area in selected unit (<code>percent</code>/<code>pixel</code>).<br><u>Percent mode:</u> If not provided or if all areas sizes not equal to 100, all areas will have the same size.<br><u>Pixel mode:</u> An area with <code>[size]="'*'"</code> is mandatory (only one) and can't have <code>minSize</code>/<code>maxSize</code>/<code>lockSize</code>.`},
63
-
{name: 'minSize',type: 'number',default: 'null',details: 'Minimum pixel or percent size, can\'t be smaller than provided <code>size</code>.'},
64
-
{name: 'maxSize',type: 'number',default: 'null',details: 'Maximum pixel or percent size, can\'t be bigger than provided <code>size</code>.'},
65
-
{name: 'lockSize',type: 'boolean',default: 'false',details: 'Lock area size, same as <code>minSize</code> = <code>maxSize</code> = <code>size</code>.'},
62
+
{name: 'size',type: 'number',default: '-',details: `Size of the area in selected unit (<code>percent</code>/<code>pixel</code>).<br><u>Percent mode:</u> All areas sizes should equal to 100, If not, all areas will have the same size.<br><u>Pixel mode:</u> An area with wildcard size (<code>[size]="'*'"</code>) is mandatory (only one) and can't have <code>[visible]="false"</code> or <code>minSize</code>/<code>maxSize</code>/<code>lockSize</code> properties.`},
63
+
{name: 'minSize',type: 'number',default: 'null',details: `Minimum pixel or percent size, can't be smaller than provided <code>size</code>.<br><u>Not working when <code>[size]="'*'"</code></u>`},
64
+
{name: 'maxSize',type: 'number',default: 'null',details: `Maximum pixel or percent size, can't be bigger than provided <code>size</code>.<br><u>Not working when <code>[size]="'*'"</code></u>`},
65
+
{name: 'lockSize',type: 'boolean',default: 'false',details: `Lock area size, same as <code>minSize</code> = <code>maxSize</code> = <code>size</code>.<br><u>Not working when <code>[size]="'*'"</code></u>`},
66
+
{name: 'visible',type: 'boolean',default: 'true',details: `Hide area visually but still present in the DOM, use <code>ngIf</code> to completely remove it.<br><u>Not working when <code>[size]="'*'"</code></u>`},
0 commit comments