fix(keyboard): include the mode parameter in setResizeMode()

This commit is contained in:
Ken Sodemann 2018-09-25 10:12:24 -05:00 committed by GitHub
parent fbf7463724
commit 8d57df3e64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,12 +59,13 @@ export class Keyboard extends IonicNativePlugin {
/** /**
* Programatically set the resize mode * Programatically set the resize mode
* @param mode {string}
*/ */
@Cordova({ @Cordova({
sync: true, sync: true,
platforms: ['iOS'] platforms: ['iOS']
}) })
setResizeMode(): void {} setResizeMode(mode: string): void {}
/** /**
* Creates an observable that notifies you when the keyboard is shown. Unsubscribe to observable to cancel event watch. * Creates an observable that notifies you when the keyboard is shown. Unsubscribe to observable to cancel event watch.