We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f67166 commit 0322ea5Copy full SHA for 0322ea5
projects/plotly/src/lib/plotly.component.ts
@@ -25,7 +25,7 @@ import { Plotly } from './plotly.interface';
25
// @dynamic
26
@Component({
27
selector: 'plotly-plot',
28
- template: `<div #plot [attr.id]="divId" [className]="getClassName()" [ngStyle]="style"></div>`,
+ template: `<div #plot [attr.id]="divId" [ngClass]="getClassName()" [ngStyle]="style"></div>`,
29
providers: [PlotlyService],
30
})
31
export class PlotlyComponent implements OnInit, OnChanges, OnDestroy, DoCheck {
0 commit comments