1
1
mirror of https://github.com/bitgapp/eqMac.git synced 2024-11-23 06:42:02 +03:00
This commit is contained in:
Nodeful 2021-03-17 16:31:52 +02:00
parent 914bd8ac2d
commit bf73f78f87
2 changed files with 3 additions and 4 deletions

View File

@ -78,9 +78,9 @@
<!-- Flat Slider --> <!-- Flat Slider -->
<eqm-flat-slider *ngIf="option.type === 'flat-slider'" [enabled]="!option.isEnabled || option.isEnabled() === true" <eqm-flat-slider *ngIf="option.type === 'flat-slider'" [enabled]="!option.isEnabled || option.isEnabled() === true"
[orientation]="option.orientation" [thickness]="option.thickness" [color]="option.color" [orientation]="option.orientation"
[value]="option.value" [min]="option.min" [middle]="option.middle" [max]="option.max" [value]="option.value" [min]="option.min" [middle]="option.middle" [max]="option.max"
[doubleClickToAnimateToMiddle]="option.doubleClickToAnimateToMiddle" [doubleClickToAnimateToMiddle]="option.doubleClickToAnimateToMiddle" [showMiddleNotch]="option.showMiddleNotch"
[animationDuration]="option.animationDuration" [animationFps]="option.animationFps" [animationDuration]="option.animationDuration" [animationFps]="option.animationFps"
[scrollEnabled]="option.scrollEnabled" [stickToMiddle]="option.stickToMiddle" [scrollEnabled]="option.scrollEnabled" [stickToMiddle]="option.stickToMiddle"
(valueChange)="option.changed && option.changed($event)" (valueChange)="option.changed && option.changed($event)"

View File

@ -97,9 +97,8 @@ interface SliderOption extends BaseOptions {
export interface FlatSliderOption extends SliderOption { export interface FlatSliderOption extends SliderOption {
type: 'flat-slider' type: 'flat-slider'
thickness?: number
orientation?: 'vertical' | 'horizontal' orientation?: 'vertical' | 'horizontal'
color?: string showMiddleNotch?: boolean
doubleClickToAnimateToMiddle?: boolean doubleClickToAnimateToMiddle?: boolean
userChangedValue?: (event: FlatSliderValueChangedEvent) => any userChangedValue?: (event: FlatSliderValueChangedEvent) => any
} }