mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(config): get/set/settings and unit tests
This commit is contained in:
@@ -17,7 +17,7 @@ export class Button {
|
||||
) {
|
||||
let element = elementRef.nativeElement;
|
||||
|
||||
if (config.setting('hoverCSS') === false) {
|
||||
if (config.get('hoverCSS') === false) {
|
||||
element.classList.add('disable-hover');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user