Skip to content

Commit 01e0d34

Browse files
committed
added tooltip option to ValueScreenOption
1 parent c14eca1 commit 01e0d34

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

ui/src/app/components/options/options.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
<eqm-value-screen *ngIf="option.type === 'value-screen'"
103103
[disabled]="!!option.isEnabled && option.isEnabled() === false"
104104
(click)="option.clicked && option.clicked()"
105+
[eqmTooltip]="option.tooltip"
105106
>
106107
{{option.value}}
107108
</eqm-value-screen>

ui/src/app/components/options/options.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ export interface SkeuomorphSliderOption extends SliderOption {
111111
export interface ValueScreenOption extends BaseOptions {
112112
type: 'value-screen'
113113
value: string
114+
tooltip?: string
114115
clicked?: () => any
115116
}
116117

0 commit comments

Comments
 (0)