Skip to content

Commit 21f1004

Browse files
authored
fix: change default area size from null to * (angular-split#358)
1 parent f81230d commit 21f1004

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/angular-split/src/lib/directive/split-area.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class SplitAreaDirective implements OnInit, OnDestroy {
2121
return this._order
2222
}
2323

24-
private _size: IAreaSize = null
24+
private _size: IAreaSize = '*'
2525

2626
@Input() set size(v: IAreaSize | `${number}` | null | undefined) {
2727
this._size = getInputPositiveNumber(v, '*')

0 commit comments

Comments
 (0)