File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ import { PopoverRelativePositionLocation } from '../popover/popover';
8
8
selector : 'ht-page-time-range' ,
9
9
template : `
10
10
<ht-time-range
11
- [dropdownLocation ]="this.dropdownLocation "
11
+ [dropdownLocationPreference ]="this.dropdownLocationPreference "
12
12
(timeRangeSelected)="this.onTimeRangeSelected($event)"
13
13
></ht-time-range>
14
14
` ,
15
15
changeDetection : ChangeDetectionStrategy . OnPush
16
16
} )
17
17
export class PageTimeRangeComponent {
18
- public readonly dropdownLocation : PopoverRelativePositionLocation [ ] = [
18
+ public readonly dropdownLocationPreference : PopoverRelativePositionLocation [ ] = [
19
19
PopoverRelativePositionLocation . BelowRightAligned
20
20
] ;
21
21
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import { PopoverRef } from '../popover/popover-ref';
25
25
<ht-popover
26
26
(popoverOpen)="this.onPopoverOpen($event)"
27
27
[closeOnNavigate]="false"
28
- [locationPreferences]="this.dropdownLocation "
28
+ [locationPreferences]="this.dropdownLocationPreference "
29
29
>
30
30
<ht-popover-trigger>
31
31
<div class="trigger">
@@ -73,9 +73,11 @@ import { PopoverRef } from '../popover/popover-ref';
73
73
} )
74
74
export class TimeRangeComponent {
75
75
@Input ( )
76
- public dropdownLocation : PopoverRelativePositionLocation [ ] = [
76
+ public dropdownLocationPreference : PopoverRelativePositionLocation [ ] = [
77
77
PopoverRelativePositionLocation . BelowLeftAligned ,
78
- PopoverRelativePositionLocation . BelowRightAligned
78
+ PopoverRelativePositionLocation . BelowRightAligned ,
79
+ PopoverRelativePositionLocation . AboveLeftAligned ,
80
+ PopoverRelativePositionLocation . AboveRightAligned
79
81
] ;
80
82
81
83
public timeRange$ : Observable < TimeRange > = this . timeRangeService . getTimeRangeAndChanges ( ) ;
You can’t perform that action at this time.
0 commit comments