fix(demo): fix the linter errors

This commit is contained in:
Alexander Zhukov 2017-07-10 14:05:02 +03:00
parent 3561acca02
commit 20aff95426
2 changed files with 4 additions and 8 deletions

View file

@ -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">

View file

@ -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);
}
} }