mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-12 03:14:20 +01:00
feat(temperatureDragger): allow several draggers on a single page
This commit is contained in:
parent
5d8769205c
commit
edb098705f
3 changed files with 19 additions and 18 deletions
|
|
@ -40,19 +40,19 @@
|
|||
|
||||
<span>Humidity placeholder</span>
|
||||
|
||||
<!--<ngx-temperature-dragger [(value)]="humidity" (power)="humidityOff = !$event" [min]="0" [max]="100"-->
|
||||
<!--[arcThickness]="20" [thumbRadius]="15" [bottomAngle]="90" [disableArcColor]="themeConfig.layoutBg"-->
|
||||
<!--[fillColors]="[themeConfig.colorInfo, themeConfig.colorSuccess, themeConfig.colorWarning]">-->
|
||||
<ngx-temperature-dragger [(value)]="humidity" (power)="humidityOff = !$event" [min]="0" [max]="100"
|
||||
[arcThickness]="20" [thumbRadius]="15" [bottomAngle]="90" [disableArcColor]="themeConfig.layoutBg"
|
||||
[fillColors]="[themeConfig.colorInfo, themeConfig.colorSuccess, themeConfig.colorWarning]">
|
||||
|
||||
<!--<div class="temperature" [ngClass]="{ 'off': humidityOff }">-->
|
||||
<!--<div class="value">-->
|
||||
<!--{{ humidityOff ? '--' : (humidity | ngxRound) }}-->
|
||||
<!--</div>-->
|
||||
<!--<div class="desc">-->
|
||||
<!--Celsius-->
|
||||
<!--</div>-->
|
||||
<!--</div>-->
|
||||
<!--</ngx-temperature-dragger>-->
|
||||
<div class="temperature" [ngClass]="{ 'off': humidityOff }">
|
||||
<div class="value">
|
||||
{{ humidityOff ? '--' : (humidity | ngxRound) }}
|
||||
</div>
|
||||
<div class="desc">
|
||||
Celsius
|
||||
</div>
|
||||
</div>
|
||||
</ngx-temperature-dragger>
|
||||
</nga-tab>
|
||||
</nga-tabset>
|
||||
</nga-card>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue