Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
React Native Keyboard Spacer | 1,483 | 365 | 22 | a year ago | 12 | October 08, 2017 | 33 | mit | JavaScript | |
Plug and play react-native keyboard spacer view. | ||||||||||
Play Button Itunes Patch | 667 | 5 years ago | 7 | other | Objective-C | |||||
Play Button iTunes Patch | ||||||||||
Fshistory | 500 | 6 months ago | 5 | mit | C | |||||
Play and Enjoy the History of Microsoft Flight Simulator | ||||||||||
Pianobooster | 294 | 4 months ago | 50 | other | C++ | |||||
A MIDI file player/game that displays the musical notes and teaches you how to play the piano. | ||||||||||
Linthesia | 231 | 7 days ago | 13 | gpl-2.0 | C++ | |||||
Linthesia is a game. A game of playing music | ||||||||||
Aiexperiments Sound Maker | 176 | 6 years ago | apache-2.0 | JavaScript | ||||||
Make unusual new sounds with machine learning. | ||||||||||
Ps4 Keyboard And Mouse Adapter | 134 | a month ago | 34 | gpl-3.0 | C | |||||
Allows you to play any game on your PlayStation 4 with a keyboard and mouse, no controller required, and it's free | ||||||||||
Scale Workshop | 111 | a year ago | 30 | JavaScript | ||||||
Design microtonal scales and play them in your web browser. Export your scales for use with VST instruments. Convert Scala files to various tuning formats. | ||||||||||
Shockemu | 86 | 3 years ago | 3 | Objective-C | ||||||
Keyboard+Mouse to Dualshock 4 emulation for PS4 Remote Play (OS X) | ||||||||||
Magenta_session | 70 | 4 years ago | 1 | mit | JavaScript | |||||
:musical_keyboard: Music Session with Google Magenta |
Plug and play iOS react-native keyboard spacer view.
Install View: npm install --save react-native-keyboard-spacer
The view will automatically perform a layout animation when the keyboard appears or disappears.
import KeyboardSpacer from 'react-native-keyboard-spacer';
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Image,
View,
TextInput
} from 'react-native';
class DemoApp extends Component {
render() {
return (
<View style={[{flex: 1}]}>
{/* Some random image to show scaling */}
<Image source={{uri: 'http://img11.deviantart.net/072b/i/2011/206/7/0/the_ocean_cherry_tree_by_tomcadogan-d41nzsz.png', static: true}}
style={{flex: 1}}/>
{/* The text input to put on top of the keyboard */}
<TextInput style={{left: 0, right: 0, height: 45}}
placeholder={'Enter your text!'}/>
{/* The view that will animate to match the keyboards height */}
<KeyboardSpacer/>
</View>
);
}
}
AppRegistry.registerComponent('DemoApp', () => DemoApp);
Prop | Default | Type | Description |
---|---|---|---|
topSpacing | 0 | number |
Add or subtract additional spacing from keyboard height |
animationConfig | A default animation | LayoutAnimationConfig |
LayoutAnimation configuration object |
Prop | Params | Type | Description |
---|---|---|---|
onToggle | toggleState |
function |
onToggle method is called when when keyboard toggles. Two parameters passed through, keyboardState (boolean, true if keyboard shown) and keyboardSpace (height occupied by keyboard) |