Skip to content

Commit

Permalink
Introduced visibility property on split-area and split-gutter.
Browse files Browse the repository at this point in the history
The purpose of visibility for split areas if to establish persiting router
outlets within each split area.

Since new router v3. Router outlet within conditional split areas can't be
consistently relied on.

Extensive testing were done, to make sure this change doesn't impact how the
split areas' conditional rendering, just add ability to toggle areas
on/off visually.
  • Loading branch information
jitsmaster committed Jan 19, 2017
1 parent 295af20 commit c7c92b9
Show file tree
Hide file tree
Showing 29 changed files with 374 additions and 716 deletions.
62 changes: 36 additions & 26 deletions dist/angularSplit.module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/angularSplit.module.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions dist/split.component.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export declare class SplitComponent implements OnChanges, OnDestroy {
readonly styleFlexDirection: string;
readonly styleWidth: string;
readonly styleHeight: string;
private readonly visibleAreas;
private readonly nbGutters;
private minPercent;
private areas;
Expand All @@ -28,6 +29,8 @@ export declare class SplitComponent implements OnChanges, OnDestroy {
addArea(component: SplitAreaDirective, orderUser: number | null, sizeUser: number | null, minPixel: number): void;
updateArea(component: SplitAreaDirective, orderUser: number | null, sizeUser: number | null, minPixel: number): void;
removeArea(area: SplitAreaDirective): void;
hideArea(area: SplitAreaDirective): void;
showArea(area: SplitAreaDirective): void;
private refresh();
private refreshStyleSizes();
startDragging(startEvent: MouseEvent | TouchEvent, gutterOrder: number): void;
Expand Down
142 changes: 100 additions & 42 deletions dist/split.component.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c7c92b9

Please sign in to comment.