mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
elementRef of Button is now a private _elementRef
This commit is contained in:
@@ -21,7 +21,7 @@ export function run() {
|
||||
}
|
||||
|
||||
function hasClass(button, className) {
|
||||
return button.elementRef.nativeElement.classList.contains(className);
|
||||
return button._elementRef.nativeElement.classList.contains(className);
|
||||
}
|
||||
|
||||
it('should ignore certain attributes', () => {
|
||||
|
||||
Reference in New Issue
Block a user