mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
fix(demo): fix the linter errors
This commit is contained in:
parent
3561acca02
commit
20aff95426
2 changed files with 4 additions and 8 deletions
|
|
@ -9,7 +9,7 @@ import { NgaThemeService } from '@akveo/nga-theme';
|
||||||
<nga-tabset fullWidth>
|
<nga-tabset fullWidth>
|
||||||
<nga-tab tabTitle="Temperature">
|
<nga-tab tabTitle="Temperature">
|
||||||
<ngx-temperature-dragger [(value)]="temperature" (power)="powerOff = !$event" [min]="12" [max]="30"
|
<ngx-temperature-dragger [(value)]="temperature" (power)="powerOff = !$event" [min]="12" [max]="30"
|
||||||
[arcThickness]="20" [knobRadius]="15" [bottomAngle]="90" [disableArcColor]="themeConfig.layoutBg"
|
[arcThickness]="20" [knobRadius]="15" [bottomAngle]="90" [disableArcColor]="themeConfig.layoutBg"
|
||||||
[fillColors]="[themeConfig.colorInfo, themeConfig.colorSuccess, themeConfig.colorWarning]">
|
[fillColors]="[themeConfig.colorInfo, themeConfig.colorSuccess, themeConfig.colorWarning]">
|
||||||
|
|
||||||
<div class="temperature" [ngClass]="{ 'off': powerOff }">
|
<div class="temperature" [ngClass]="{ 'off': powerOff }">
|
||||||
|
|
@ -18,9 +18,9 @@ import { NgaThemeService } from '@akveo/nga-theme';
|
||||||
</div>
|
</div>
|
||||||
<div class="desc">
|
<div class="desc">
|
||||||
Celsius
|
Celsius
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</ngx-temperature-dragger>
|
</ngx-temperature-dragger>
|
||||||
</nga-tab>
|
</nga-tab>
|
||||||
<nga-tab tabTitle="Humidity">
|
<nga-tab tabTitle="Humidity">
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,10 @@ import { Component } from '@angular/core';
|
||||||
template: `
|
template: `
|
||||||
<nga-card>
|
<nga-card>
|
||||||
<nga-card-body>
|
<nga-card-body>
|
||||||
<ngx-tiny-mce (editorKeyup)="editorKeyup($event)"></ngx-tiny-mce>
|
<ngx-tiny-mce></ngx-tiny-mce>
|
||||||
</nga-card-body>
|
</nga-card-body>
|
||||||
</nga-card>
|
</nga-card>
|
||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
export class TinyMCEComponent {
|
export class TinyMCEComponent {
|
||||||
|
|
||||||
editorKeyup($event) {
|
|
||||||
console.info('keyup', $event);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue