Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
feat(event-chart): Makes elementRef mandatory.
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The elementRef property is mandatory now.
  • Loading branch information
rowa-audil authored and ffriedl89 committed May 12, 2020
1 parent bcfdff5 commit 568dc1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/barista-components/event-chart/src/event-chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ export class DtEventChart<T> implements AfterContentInit, OnInit, OnDestroy {
private _durationPipe: DtDuration,
@Inject(DOCUMENT) private _document: any,
private _platform: Platform,
/** @breaking-change: `_elementRef` will be mandatory with version 7.0.0 */
private _elementRef?: ElementRef<HTMLElement>,
private _elementRef: ElementRef<HTMLElement>,
@Optional()
@Inject(DT_UI_TEST_CONFIG)
private _config?: DtUiTestConfiguration,
Expand Down

0 comments on commit 568dc1d

Please sign in to comment.