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:
@@ -130,7 +130,7 @@ export class Switch extends Ion {
|
||||
self.id = IonInput.nextId();
|
||||
self.tabIndex = 0;
|
||||
self.lastTouch = 0;
|
||||
self.mode = config.setting('mode');
|
||||
self.mode = config.get('mode');
|
||||
|
||||
self.onChange = (_) => {};
|
||||
self.onTouched = (_) => {};
|
||||
|
||||
Reference in New Issue
Block a user