tjvantoll / nativescript-IQKeyboardManager

NativeScript wrapper for the popular IQKeyboardManager iOS framework
MIT License
100 stars 20 forks source link

Expose IQKeyboardManager Typings, and use 'em in the demo. #20

Closed EddyVerbruggen closed 7 years ago

EddyVerbruggen commented 7 years ago

Hey @tjvantoll,

I wanted to remove the toolbar in some cases but still use this nice library, so I added the Pod's Typings and referenced it in package.json. That enables users to easily tweak any of the Pod's settings, as shown in the updated embedded demo.

I've added quite a large animated gif, but it's .npmignore'd so that should matter too much. The readme has a fully qualified link to the file so the gif shows up on npm (and other third party (plugin) sites) as well.

🚀

tjvantoll commented 7 years ago

Nice! 😄

I’ve got this on my list to look over tomorrow and I’ll get back with you.

tjvantoll commented 7 years ago

Awesome, thanks so much @EddyVerbruggen 😄

I just landed this. I’m checking with the plugins team on exactly how the typings configuration is supposed to work. I’ll follow up on that and get back with you.

EddyVerbruggen commented 7 years ago

That would be very informative, thanks!

tjvantoll commented 7 years ago

@EddyVerbruggen I ended up using and documenting the references.d.ts approach you originally had in this PR.

It works so I’m going to publish this with that approach for now. If we come up with a better approach in the future we can always send out a new version.

Thanks again.