Skip to content

Commit 054bdfd

Browse files
committed
elementRef of Button is now a private _elementRef
1 parent b861c39 commit 054bdfd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ionic/components/button/test/button.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function run() {
2121
}
2222

2323
function hasClass(button, className) {
24-
return button.elementRef.nativeElement.classList.contains(className);
24+
return button._elementRef.nativeElement.classList.contains(className);
2525
}
2626

2727
it('should ignore certain attributes', () => {

0 commit comments

Comments
 (0)