mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
refactor(config): get/set/settings and unit tests
This commit is contained in:
@ -111,7 +111,7 @@ export class TextInput extends Ion {
|
||||
super(elementRef, config);
|
||||
|
||||
this.scrollView = scrollView;
|
||||
this.scrollAssist = config.setting('keyboardScrollAssist');
|
||||
this.scrollAssist = config.get('keyboardScrollAssist');
|
||||
this.id = IonInput.nextId();
|
||||
IonInput.registerInput(this);
|
||||
|
||||
@ -121,7 +121,7 @@ export class TextInput extends Ion {
|
||||
this.inputQry = inputQry;
|
||||
this.labelQry = labelQry;
|
||||
|
||||
this.keyboardHeight = this.config.setting('keyboardHeight');
|
||||
this.keyboardHeight = this.config.get('keyboardHeight');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user